]> Pileus Git - ~andy/linux/blobdiff - fs/pnode.h
Linux 3.14
[~andy/linux] / fs / pnode.h
index b091445c1c4ac4472c09adb54496f7af98060a42..fc28a27fa89233d24b90bdd748477994b8713ecd 100644 (file)
 
 #define CL_EXPIRE              0x01
 #define CL_SLAVE               0x02
-#define CL_COPY_ALL            0x04
+#define CL_COPY_UNBINDABLE     0x04
 #define CL_MAKE_SHARED                 0x08
 #define CL_PRIVATE             0x10
 #define CL_SHARED_TO_SLAVE     0x20
 #define CL_UNPRIVILEGED                0x40
+#define CL_COPY_MNT_NS_FILE    0x80
+
+#define CL_COPY_ALL            (CL_COPY_UNBINDABLE | CL_COPY_MNT_NS_FILE)
 
 static inline void set_mnt_shared(struct mount *mnt)
 {
@@ -33,8 +36,8 @@ static inline void set_mnt_shared(struct mount *mnt)
 
 void change_mnt_propagation(struct mount *, int);
 int propagate_mnt(struct mount *, struct mountpoint *, struct mount *,
-               struct list_head *);
-int propagate_umount(struct list_head *);
+               struct hlist_head *);
+int propagate_umount(struct hlist_head *);
 int propagate_mount_busy(struct mount *, int);
 void mnt_release_group_id(struct mount *);
 int get_dominating_id(struct mount *mnt, const struct path *root);