diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2017-09-04 22:42:22 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2017-09-04 22:42:22 +0300 |
commit | 495e642939114478a5237a7d91661ba93b76f15a (patch) | |
tree | 99d9efa957ece9af764956d9ae2532de375351fa /fs/overlayfs | |
parent | 191a3980c6161d40c32e69273e0567615be17001 (diff) | |
download | linux-495e642939114478a5237a7d91661ba93b76f15a.tar.xz |
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 'fs/overlayfs')
-rw-r--r-- | fs/overlayfs/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c index c0c02cca776b..19e89ce39017 100644 --- a/fs/overlayfs/super.c +++ b/fs/overlayfs/super.c @@ -70,7 +70,7 @@ static int ovl_check_append_only(struct inode *inode, int flag) static struct dentry *ovl_d_real(struct dentry *dentry, const struct inode *inode, - unsigned int open_flags) + unsigned int open_flags, unsigned int flags) { struct dentry *real; int err; @@ -102,7 +102,7 @@ static struct dentry *ovl_d_real(struct dentry *dentry, goto bug; /* Handle recursion */ - real = d_real(real, inode, open_flags); + real = d_real(real, inode, open_flags, 0); if (!inode || inode == d_inode(real)) return real; |