aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-03-18 13:51:11 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-18 13:51:11 -0400
commitf539abece1b7e36fae6add4f9ea29203d40badcb (patch)
tree786c08f3131a1871ece13343c3fa3832930c1408 /Documentation/filesystems
parent3f6f7e6d57b8a0ae2810ae7aac70c51b6f2a6304 (diff)
parent24ff6663ccfdaf088dfa7acae489cb11ed4f43c4 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: fs: call security_d_instantiate in d_obtain_alias V2 lose 'mounting_here' argument in ->d_manage() don't pass 'mounting_here' flag to follow_down() change the locking order for namespace_sem fix deadlock in pivot_root() vfs: split off vfsmount-related parts of vfs_kern_mount() Some fixes for pstore kill simple_set_mnt()
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/vfs.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt
index ef0714aa8e40..306f0ae8df09 100644
--- a/Documentation/filesystems/vfs.txt
+++ b/Documentation/filesystems/vfs.txt
@@ -873,7 +873,7 @@ struct dentry_operations {
873 void (*d_iput)(struct dentry *, struct inode *); 873 void (*d_iput)(struct dentry *, struct inode *);
874 char *(*d_dname)(struct dentry *, char *, int); 874 char *(*d_dname)(struct dentry *, char *, int);
875 struct vfsmount *(*d_automount)(struct path *); 875 struct vfsmount *(*d_automount)(struct path *);
876 int (*d_manage)(struct dentry *, bool, bool); 876 int (*d_manage)(struct dentry *, bool);
877}; 877};
878 878
879 d_revalidate: called when the VFS needs to revalidate a dentry. This 879 d_revalidate: called when the VFS needs to revalidate a dentry. This
@@ -969,10 +969,6 @@ struct dentry_operations {
969 mounted on it and not to check the automount flag. Any other error 969 mounted on it and not to check the automount flag. Any other error
970 code will abort pathwalk completely. 970 code will abort pathwalk completely.
971 971
972 If the 'mounting_here' parameter is true, then namespace_sem is being
973 held by the caller and the function should not initiate any mounts or
974 unmounts that it will then wait for.
975
976 If the 'rcu_walk' parameter is true, then the caller is doing a 972 If the 'rcu_walk' parameter is true, then the caller is doing a
977 pathwalk in RCU-walk mode. Sleeping is not permitted in this mode, 973 pathwalk in RCU-walk mode. Sleeping is not permitted in this mode,
978 and the caller can be asked to leave it and call again by returing 974 and the caller can be asked to leave it and call again by returing