summaryrefslogtreecommitdiff
path: root/Documentation/filesystems/Locking
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2018-07-18 15:44:44 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2018-07-18 15:44:44 +0200
commitfb16043b46831a75c9b076a7262ae035290b0409 (patch)
treeaede88128c9d4ec05c36ac0864d3e01e2f916c34 /Documentation/filesystems/Locking
parent573e1784817ca1f13d76a0df636929e983e5de3c (diff)
downloadlwn-fb16043b46831a75c9b076a7262ae035290b0409.tar.gz
lwn-fb16043b46831a75c9b076a7262ae035290b0409.zip
vfs: remove open_flags from d_real()
Opening regular files on overlayfs is now handled via ovl_open(). Remove the now unused "open_flags" argument from d_op->d_real() and the d_real() helper. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'Documentation/filesystems/Locking')
-rw-r--r--Documentation/filesystems/Locking3
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/filesystems/Locking b/Documentation/filesystems/Locking
index 24e1a4f37c83..08a36e14e8fc 100644
--- a/Documentation/filesystems/Locking
+++ b/Documentation/filesystems/Locking
@@ -21,8 +21,7 @@ prototypes:
char *(*d_dname)((struct dentry *dentry, char *buffer, int buflen);
struct vfsmount *(*d_automount)(struct path *path);
int (*d_manage)(const struct path *, bool);
- struct dentry *(*d_real)(struct dentry *, const struct inode *,
- unsigned int);
+ struct dentry *(*d_real)(struct dentry *, const struct inode *);
locking rules:
rename_lock ->d_lock may block rcu-walk