diff options
author | Karel Zak | 2012-01-13 16:27:50 +0100 |
---|---|---|
committer | Karel Zak | 2012-01-13 16:27:50 +0100 |
commit | dc4dbbf188be91da4b13b29e04ae94f2f831e4ab (patch) | |
tree | 91713f0d0fc33f5b9ab330b3b77c92996915f01c /libmount/src/optstr.c | |
parent | libmount: allow to use UUID and LABEL for owner/group mount options in fstab (diff) | |
download | kernel-qcow2-util-linux-dc4dbbf188be91da4b13b29e04ae94f2f831e4ab.tar.gz kernel-qcow2-util-linux-dc4dbbf188be91da4b13b29e04ae94f2f831e4ab.tar.xz kernel-qcow2-util-linux-dc4dbbf188be91da4b13b29e04ae94f2f831e4ab.zip |
libmount: allow to toggle ro/rw and mount again
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/optstr.c')
-rw-r--r-- | libmount/src/optstr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmount/src/optstr.c b/libmount/src/optstr.c index 836838440..260dc26a8 100644 --- a/libmount/src/optstr.c +++ b/libmount/src/optstr.c @@ -652,7 +652,7 @@ int mnt_optstr_apply_flags(char **optstr, unsigned long flags, if (!optstr || !map) return -EINVAL; - DBG(CXT, mnt_debug("applying 0x%08lu flags '%s'", flags, *optstr)); + DBG(CXT, mnt_debug("applying 0x%08lu flags to '%s'", flags, *optstr)); maps[0] = map; next = *optstr; @@ -745,6 +745,7 @@ int mnt_optstr_apply_flags(char **optstr, unsigned long flags, } } + DBG(CXT, mnt_debug("new optstr '%s'", *optstr)); return rc; err: DBG(CXT, mnt_debug("failed to apply flags [rc=%d]", rc)); |