diff options
author | Amir Goldstein <amir73il@gmail.com> | 2017-09-24 12:00:19 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2017-11-10 09:39:16 +0100 |
commit | d9768076068f81687b3dbddbd76b5e108f5d53d0 (patch) | |
tree | d573844434ccb2c0fc6b780db4023d7a8d7a3432 /fs/overlayfs/namei.c | |
parent | ovl: Put upperdentry if ovl_check_origin() fails (diff) | |
download | linux-d9768076068f81687b3dbddbd76b5e108f5d53d0.tar.xz linux-d9768076068f81687b3dbddbd76b5e108f5d53d0.zip |
ovl: remove unneeded arg from ovl_verify_origin()
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/namei.c')
-rw-r--r-- | fs/overlayfs/namei.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/overlayfs/namei.c b/fs/overlayfs/namei.c index 7d4099143a57..625ed8066570 100644 --- a/fs/overlayfs/namei.c +++ b/fs/overlayfs/namei.c @@ -348,8 +348,8 @@ static int ovl_verify_origin_fh(struct dentry *dentry, const struct ovl_fh *fh) * * Return 0 on match, -ESTALE on mismatch, < 0 on error. */ -int ovl_verify_origin(struct dentry *dentry, struct vfsmount *mnt, - struct dentry *origin, bool is_upper, bool set) +int ovl_verify_origin(struct dentry *dentry, struct dentry *origin, + bool is_upper, bool set) { struct inode *inode; struct ovl_fh *fh; |