diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2024-01-20 12:24:55 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2024-04-15 22:03:24 +0200 |
commit | af58dc1f50c1946018773beca23ebaad587b9cc9 (patch) | |
tree | e866e2877ac2cc0e24ec54bbf0899dd6f2185ded /fs/overlayfs | |
parent | get_file_rcu(): no need to check for NULL separately (diff) | |
download | linux-af58dc1f50c1946018773beca23ebaad587b9cc9.tar.xz linux-af58dc1f50c1946018773beca23ebaad587b9cc9.zip |
kernel_file_open(): get rid of inode argument
always equal to ->dentry->d_inode of the path argument these
days.
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/overlayfs')
-rw-r--r-- | fs/overlayfs/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/util.c b/fs/overlayfs/util.c index d285d1d7baad..edc9216f6e27 100644 --- a/fs/overlayfs/util.c +++ b/fs/overlayfs/util.c @@ -1376,7 +1376,7 @@ int ovl_ensure_verity_loaded(struct path *datapath) * If this inode was not yet opened, the verity info hasn't been * loaded yet, so we need to do that here to force it into memory. */ - filp = kernel_file_open(datapath, O_RDONLY, inode, current_cred()); + filp = kernel_file_open(datapath, O_RDONLY, current_cred()); if (IS_ERR(filp)) return PTR_ERR(filp); fput(filp); |