RE: [f2fs-dev] [PATCH 2/3] f2fs crypto: check dir entry just for directory

2015-05-27 Thread Chao Yu
Hi all, > -Original Message- > From: Chao Yu [mailto:chao2...@samsung.com] > Sent: Monday, May 25, 2015 6:08 PM > To: Jaegeuk Kim; Changman Lee > Cc: linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net > Subject: [f2fs-dev] [PATCH 2/3] f2fs crypto: ch

[PATCH 2/3] f2fs crypto: check dir entry just for directory

2015-05-25 Thread Chao Yu
This patch fixes to add a judgement condition to verify type of the target inode before empty directory verification. So wrong verification could be avoided for non-directory inode. Signed-off-by: Chao Yu --- fs/f2fs/crypto_policy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --