summaryrefslogtreecommitdiffstats
path: root/libmount/src/context.c
diff options
context:
space:
mode:
authorKarel Zak2012-01-13 14:37:09 +0100
committerKarel Zak2012-01-13 14:37:09 +0100
commitbe3df3838a0c95ae0f7c56ee41e4bb03a97a856d (patch)
treeb5f700b6e1f140ffdb47b1a52f73b8a79e97cd02 /libmount/src/context.c
parentlibmount: add functions to export syscall/helpers status (diff)
downloadkernel-qcow2-util-linux-be3df3838a0c95ae0f7c56ee41e4bb03a97a856d.tar.gz
kernel-qcow2-util-linux-be3df3838a0c95ae0f7c56ee41e4bb03a97a856d.tar.xz
kernel-qcow2-util-linux-be3df3838a0c95ae0f7c56ee41e4bb03a97a856d.zip
libmount: allow to use UUID and LABEL for owner/group mount options in fstab
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/context.c')
-rw-r--r--libmount/src/context.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/libmount/src/context.c b/libmount/src/context.c
index 11b44f2ae..594f090f4 100644
--- a/libmount/src/context.c
+++ b/libmount/src/context.c
@@ -1621,7 +1621,13 @@ int mnt_context_apply_fstab(struct libmnt_context *cxt)
* mnt_context_get_status:
* @cxt: mount context
*
- * Returns: 1 if mount.type or mount(2) syscall was successful.
+ * Global libmount status.
+ *
+ * The real exit code of the mount.type helper has to be tested by
+ * mnt_context_get_helper_status(). The mnt_context_get_status() only inform
+ * that exec() has been sucessful.
+ *
+ * Returns: 1 if mount.type or mount(2) syscall has been succesfully called.
*/
int mnt_context_get_status(struct libmnt_context *cxt)
{