diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2014-12-23 03:30:08 +0300 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2015-04-03 04:34:18 +0300 |
commit | 590ce4bcbfb4e0462a720a4ad901e84416080bba (patch) | |
tree | e5597263904eda7b9e869e57851c6f5dd6737e47 /include/linux/mount.h | |
parent | c003b26ff98ca04a180ff34c38c007a3998d62f9 (diff) | |
download | linux-590ce4bcbfb4e0462a720a4ad901e84416080bba.tar.xz |
mnt: Add MNT_UMOUNT flag
In some instances it is necessary to know if the the unmounting
process has begun on a mount. Add MNT_UMOUNT to make that reliably
testable.
This fix gets used in fixing locked mounts in MNT_DETACH
Cc: stable@vger.kernel.org
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include/linux/mount.h')
-rw-r--r-- | include/linux/mount.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mount.h b/include/linux/mount.h index c2c561dc0114..564beeec5d83 100644 --- a/include/linux/mount.h +++ b/include/linux/mount.h @@ -61,6 +61,7 @@ struct mnt_namespace; #define MNT_DOOMED 0x1000000 #define MNT_SYNC_UMOUNT 0x2000000 #define MNT_MARKED 0x4000000 +#define MNT_UMOUNT 0x8000000 struct vfsmount { struct dentry *mnt_root; /* root of the mounted tree */ |