diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-18 09:09:02 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-18 10:01:59 -0400 |
commit | 1aed3e4204dd787d53b3cd6363eb63bb4900c38e (patch) | |
tree | 503582fa9f7fa68a1da7af3770d3a627d041fb52 /Documentation/filesystems | |
parent | 7cc90cc3ffe22a0d81b8d605b20a82ec7911012d (diff) |
lose 'mounting_here' argument in ->d_manage()
it's always false...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r-- | Documentation/filesystems/vfs.txt | 6 |
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 |