]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/pnode.h
[PATCH] introduce slave mounts
[linux-2.6-omap-h63xx.git] / fs / pnode.h
index 9b88ba06794a90260c86c9c982531bdfc086bc6b..b59f0e9fe6b1d105c631ba566583f68a204c8cde 100644 (file)
 #include <linux/mount.h>
 
 #define IS_MNT_SHARED(mnt) (mnt->mnt_flags & MNT_SHARED)
+#define IS_MNT_SLAVE(mnt) (mnt->mnt_master)
 #define IS_MNT_NEW(mnt)  (!mnt->mnt_namespace)
 #define CLEAR_MNT_SHARED(mnt) (mnt->mnt_flags &= ~MNT_SHARED)
 
 #define CL_EXPIRE              0x01
+#define CL_SLAVE               0x02
 #define CL_COPY_ALL            0x04
 #define CL_MAKE_SHARED                 0x08
 #define CL_PROPAGATION                 0x10