]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/pnode.h
[PATCH] introduce shared mounts
[linux-2.6-omap-h63xx.git] / fs / pnode.h
index 33549a3a74eb680a72e9cca34b4427ed73145fe6..ab1bdaee4e085329cc011180ea3e1fbe93787285 100644 (file)
@@ -10,5 +10,9 @@
 
 #include <linux/list.h>
 #include <linux/mount.h>
+
+#define IS_MNT_SHARED(mnt) (mnt->mnt_flags & MNT_SHARED)
+#define CLEAR_MNT_SHARED(mnt) (mnt->mnt_flags &= ~MNT_SHARED)
+
 void change_mnt_propagation(struct vfsmount *, int);
 #endif /* _LINUX_PNODE_H */