Re: [f2fs-dev] [PATCH 1/2] dump/fsck: convert encrypted file name

2016-10-25 Thread Jaegeuk Kim
Hi, On Mon, Oct 24, 2016 at 11:47:06AM +0800, Sheng Yong wrote: > Hi, Jaegeuk, > > On 10/24/2016 10:16 AM, Sheng Yong wrote: > > If fscrypt is enabled, we need to convert the encrypted file name before > > printing it. So let's export convert_encrypted_name for other functions, > > and make it

Re: [f2fs-dev] [PATCH 1/2] dump/fsck: convert encrypted file name

2016-10-23 Thread Sheng Yong
Hi, Jaegeuk, On 10/24/2016 10:16 AM, Sheng Yong wrote: > If fscrypt is enabled, we need to convert the encrypted file name before > printing it. So let's export convert_encrypted_name for other functions, > and make it returns the length of converted string. > This patch also changes the

[f2fs-dev] [PATCH 1/2] dump/fsck: convert encrypted file name

2016-10-23 Thread Sheng Yong
If fscrypt is enabled, we need to convert the encrypted file name before printing it. So let's export convert_encrypted_name for other functions, and make it returns the length of converted string. This patch also changes the parameter of file_is_encrypt to f2fs_inode. Signed-off-by: Sheng Yong