]> 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)
commit38d7470a06eef49c7ef0e62bf7b02323160e1dc8
treeeaae28170f3fb13a4c3463fd3e9c0a923ec83003
parent7b95255b7b2dc70ffa2e1881865f17363aaffbeb
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