summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/mountP.h
diff options
context:
space:
mode:
authorKarel Zak2010-10-12 15:04:28 +0200
committerKarel Zak2011-01-03 12:28:45 +0100
commitea8f06f97913ebfe62fc971e952a309ae15d6544 (patch)
tree961e05970fdbeba5ad8a01804e9ecba8fb6299e7 /shlibs/mount/src/mountP.h
parentlibmount: add mnt_context_get_{fstab,mtab}() (diff)
downloadkernel-qcow2-util-linux-ea8f06f97913ebfe62fc971e952a309ae15d6544.tar.gz
kernel-qcow2-util-linux-ea8f06f97913ebfe62fc971e952a309ae15d6544.tar.xz
kernel-qcow2-util-linux-ea8f06f97913ebfe62fc971e952a309ae15d6544.zip
libmount: add umount(2) support
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/mountP.h')
-rw-r--r--shlibs/mount/src/mountP.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shlibs/mount/src/mountP.h b/shlibs/mount/src/mountP.h
index 96490b160..9f05cf555 100644
--- a/shlibs/mount/src/mountP.h
+++ b/shlibs/mount/src/mountP.h
@@ -250,6 +250,7 @@ struct _mnt_context
#define MNT_FL_FORCE (1 << 8)
#define MNT_FL_NOCANONICALIZE (1 << 9)
#define MNT_FL_NOLOCK (1 << 10) /* don't lock mtab file */
+#define MNT_FL_RDONLY_UMOUNT (1 << 11) /* remount,ro after EBUSY umount(2) */
#define MNT_FL_EXTERN_FS (1 << 15) /* cxt->fs is not private */
#define MNT_FL_EXTERN_FSTAB (1 << 16) /* cxt->fstab is not private */