]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa360e559574e4f06e7f4e84304a41e31b110613
treeeaae28170f3fb13a4c3463fd3e9c0a923ec83003
parentf342162726a9f2435fa409845771266fd181e6a1
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