diff options
author | Chengguang Xu <cgxu519@mykernel.net> | 2020-06-24 12:20:11 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-11-12 11:31:56 +0100 |
commit | c11faf32599fee59f33896c8d59f9b3c17ca76fc (patch) | |
tree | d9f21d20ba852e3924741a11b31845b15c60e8f8 /security/commoncap.c | |
parent | ovl: expand warning in ovl_d_real() (diff) | |
download | linux-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