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>
Showing
- fs/f2fs/data.c 2 additions, 2 deletionsfs/f2fs/data.c
- fs/f2fs/dir.c 5 additions, 5 deletionsfs/f2fs/dir.c
- fs/f2fs/f2fs.h 1 addition, 6 deletionsfs/f2fs/f2fs.h
- fs/f2fs/file.c 5 additions, 5 deletionsfs/f2fs/file.c
- fs/f2fs/inode.c 2 additions, 2 deletionsfs/f2fs/inode.c
- fs/f2fs/namei.c 3 additions, 3 deletionsfs/f2fs/namei.c
Loading
Please register or sign in to comment