ovl: Pass argument to ovl_get_inode() in a structure
authorVivek Goyal <vgoyal@redhat.com>
Tue, 8 May 2018 13:27:21 +0000 (09:27 -0400)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 31 May 2018 09:06:12 +0000 (11:06 +0200)
commitac6a52eb65b5327859135269c9374bf2ff731c9f
treed9df845487315b3475d363f3c74ef37644d89c0a
parent80ea09a002bf4384fda5f087b1b198b3a274f9da
ovl: Pass argument to ovl_get_inode() in a structure

ovl_get_inode() right now has 5 parameters. Soon this patch series will
add 2 more and suddenly argument list starts looking too long.

Hence pass arguments to ovl_get_inode() in a structure and it looks
little cleaner.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/export.c
fs/overlayfs/inode.c
fs/overlayfs/namei.c
fs/overlayfs/overlayfs.h