summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2017-09-04 15:42:22 -0400
committerMiklos Szeredi <mszeredi@redhat.com>2017-09-04 15:42:22 -0400
commit495e642939114478a5237a7d91661ba93b76f15a (patch)
tree99d9efa957ece9af764956d9ae2532de375351fa /Documentation/filesystems
parent191a3980c6161d40c32e69273e0567615be17001 (diff)
vfs: add flags to d_real()
Add a separate flags argument (in addition to the open flags) to control the behavior of d_real(). Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/Locking2
-rw-r--r--Documentation/filesystems/vfs.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/filesystems/Locking b/Documentation/filesystems/Locking
index fe25787ff6d4..75d2d57e2c44 100644
--- a/Documentation/filesystems/Locking
+++ b/Documentation/filesystems/Locking
@@ -22,7 +22,7 @@ prototypes:
22 struct vfsmount *(*d_automount)(struct path *path); 22 struct vfsmount *(*d_automount)(struct path *path);
23 int (*d_manage)(const struct path *, bool); 23 int (*d_manage)(const struct path *, bool);
24 struct dentry *(*d_real)(struct dentry *, const struct inode *, 24 struct dentry *(*d_real)(struct dentry *, const struct inode *,
25 unsigned int); 25 unsigned int, unsigned int);
26 26
27locking rules: 27locking rules:
28 rename_lock ->d_lock may block rcu-walk 28 rename_lock ->d_lock may block rcu-walk
diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt
index 73e7d91f03dc..7f20c1bdfb67 100644
--- a/Documentation/filesystems/vfs.txt
+++ b/Documentation/filesystems/vfs.txt
@@ -990,7 +990,7 @@ struct dentry_operations {
990 struct vfsmount *(*d_automount)(struct path *); 990 struct vfsmount *(*d_automount)(struct path *);
991 int (*d_manage)(const struct path *, bool); 991 int (*d_manage)(const struct path *, bool);
992 struct dentry *(*d_real)(struct dentry *, const struct inode *, 992 struct dentry *(*d_real)(struct dentry *, const struct inode *,
993 unsigned int); 993 unsigned int, unsigned int);
994}; 994};
995 995
996 d_revalidate: called when the VFS needs to revalidate a dentry. This 996 d_revalidate: called when the VFS needs to revalidate a dentry. This