Re: [f2fs-dev] [PATCH 1/7] ext4: use IS_ENCRYPTED() to check encryption status

2018-11-26 Thread Eric Biggers
Hi Chandan, On Mon, Nov 19, 2018 at 10:53:18AM +0530, Chandan Rajendra wrote: > @@ -4724,7 +4724,7 @@ static bool ext4_should_use_dax(struct inode *inode) > return false; > if (ext4_has_inline_data(inode)) > return false; > - if (ext4_encrypted_inode(inode))

[f2fs-dev] [PATCH 1/7] ext4: use IS_ENCRYPTED() to check encryption status

2018-11-18 Thread Chandan Rajendra
This commit removes the ext4 specific ext4_encrypted_inode() and makes use of the generic IS_ENCRYPTED() macro to check for the encryption status of an inode. Signed-off-by: Chandan Rajendra --- fs/ext4/dir.c | 8 fs/ext4/ext4.h| 5 - fs/ext4/ext4_jbd2.h | 2 +-