fs: introduce mnt_clone_write
[linux-2.6-block.git] / include / linux / mount.h
index ac49c1f8e5c098bda178a752458258d8f4e0436d..5d5275364867879626d30b4511a7f064a635747f 100644 (file)
@@ -88,7 +88,11 @@ static inline struct vfsmount *mntget(struct vfsmount *mnt)
        return mnt;
 }
 
+struct file; /* forward dec */
+
 extern int mnt_want_write(struct vfsmount *mnt);
+extern int mnt_want_write_file(struct file *file);
+extern int mnt_clone_write(struct vfsmount *mnt);
 extern void mnt_drop_write(struct vfsmount *mnt);
 extern void mntput_no_expire(struct vfsmount *mnt);
 extern void mnt_pin(struct vfsmount *mnt);