summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/tab_update.c
diff options
context:
space:
mode:
authorKarel Zak2010-09-29 12:23:59 +0200
committerKarel Zak2011-01-03 12:28:43 +0100
commit5944e4e6c693d0d388c3ff9a3f534daa4bdf3767 (patch)
treefe1902bcd950f61825ae811d74ccf589c69efccd /shlibs/mount/src/tab_update.c
parentlibmount: use attribute __format__ for debug routines (diff)
downloadkernel-qcow2-util-linux-5944e4e6c693d0d388c3ff9a3f534daa4bdf3767.tar.gz
kernel-qcow2-util-linux-5944e4e6c693d0d388c3ff9a3f534daa4bdf3767.tar.xz
kernel-qcow2-util-linux-5944e4e6c693d0d388c3ff9a3f534daa4bdf3767.zip
libmount: add mtab managment to context API
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/tab_update.c')
-rw-r--r--shlibs/mount/src/tab_update.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shlibs/mount/src/tab_update.c b/shlibs/mount/src/tab_update.c
index 3cf676211..1573b58ba 100644
--- a/shlibs/mount/src/tab_update.c
+++ b/shlibs/mount/src/tab_update.c
@@ -229,7 +229,8 @@ int mnt_update_set_mountflags(mnt_update *upd, unsigned long flags)
* Note that after mnt_update_disable_lock(mt, TRUE) or after mnt_free_update()
* the lock will be automatically deallocated.
*
- * Returns: libmount lock handler or NULL if locking is disabled.
+ * Returns: libmount lock handler or NULL if locking is disabled or update is
+ * not prepared yet.
*/
mnt_lock *mnt_update_get_lock(mnt_update *upd)
{