ovl: simplify arguments to ovl_check_origin_fh()
authorAmir Goldstein <amir73il@gmail.com>
Tue, 12 Dec 2017 20:40:46 +0000 (22:40 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 24 Jan 2018 09:19:46 +0000 (10:19 +0100)
commit1eff1a1deec727bacead79ec64554c1df190f43c
treeeaae28170f3fb13a4c3463fd3e9c0a923ec83003
parent2e1a532883cf77f01031bef4b83d864a46c1bed0
ovl: simplify arguments to ovl_check_origin_fh()

Pass the fs instance with lower_layers array instead of the dentry
lowerstack array to ovl_check_origin_fh(), because the dentry members
of lowerstack play no role in this helper.

This change simplifies the argument list of ovl_check_origin(),
ovl_cleanup_index() and ovl_verify_index().

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/namei.c
fs/overlayfs/overlayfs.h
fs/overlayfs/readdir.c
fs/overlayfs/super.c