]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: use IS_ENCRYPTED() to check encryption status
authorChandan Rajendra <chandan@linux.vnet.ibm.com>
Wed, 12 Dec 2018 09:50:11 +0000 (15:20 +0530)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 24 Jan 2019 04:56:43 +0000 (23:56 -0500)
commit3cafba30d23e6ee91b6183bdc1a9479240ce027a
treed0d4289fdb1d21868261dfae97f8da6bbaae672f
parenta7bc269098c985193e57e39c32f6cff092f3a30b
f2fs: use IS_ENCRYPTED() to check encryption status

This commit removes the f2fs specific f2fs_encrypted_inode() and makes
use of the generic IS_ENCRYPTED() macro to check for the encryption
status of an inode.

Acked-by: Chao Yu <yuchao0@huawei.com>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
fs/f2fs/data.c
fs/f2fs/dir.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/inode.c
fs/f2fs/namei.c