summaryrefslogtreecommitdiffstats
path: root/security/commoncap.c
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@mykernel.net>2020-06-24 12:20:11 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2020-11-12 11:31:56 +0100
commitc11faf32599fee59f33896c8d59f9b3c17ca76fc (patch)
treed9f21d20ba852e3924741a11b31845b15c60e8f8 /security/commoncap.c
parentovl: expand warning in ovl_d_real() (diff)
downloadlinux-c11faf32599fee59f33896c8d59f9b3c17ca76fc.tar.xz
linux-c11faf32599fee59f33896c8d59f9b3c17ca76fc.zip
ovl: fix incorrect extent info in metacopy case
In metacopy case, we should use ovl_inode_realdata() instead of ovl_inode_real() to get real inode which has data, so that we can get correct information of extentes in ->fiemap operation. Signed-off-by: Chengguang Xu <cgxu519@mykernel.net> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'security/commoncap.c')
0 files changed, 0 insertions, 0 deletions