diff options
author | Chao Yu <yuchao0@huawei.com> | 2020-03-21 15:23:27 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-03-31 06:46:24 +0300 |
commit | d76af0d675d4733c24a848e62d263a362aefa925 (patch) | |
tree | f76fcc13865ee8d123e50fa8942f88c1502812db /fs/f2fs/compress.c | |
parent | 7bcd0cfa735d72037c71979f18a257b0c6a2b87f (diff) | |
download | linux-d76af0d675d4733c24a848e62d263a362aefa925.tar.xz |
f2fs: don't call fscrypt_get_encryption_info() explicitly in f2fs_tmpfile()
In f2fs_tmpfile(), parent inode's encryption info is only used when
inheriting encryption context to its child inode, however, we have
already called fscrypt_get_encryption_info() in fscrypt_inherit_context()
to get the encryption info, so just removing unneeded one in
f2fs_tmpfile().
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/compress.c')
0 files changed, 0 insertions, 0 deletions