Encrypted inode for regular file should not have inline_data.
Here we check encrypted inode before convert of inline inode
to avoid redundant convert.
Signed-off-by: Zhang Zhen <zhenzhang.zh...@huawei.com>
---
fs/f2fs/data.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff
On 2015/8/24 12:56, Jaegeuk Kim wrote:
Hi Zhang,
On Mon, Aug 24, 2015 at 11:39:55AM +0800, Zhang Zhen wrote:
__add_ino_entry is looping around the allocation request and minics
__GFP_NOFAIL behavior without any allocation fallback strategy.
Here remove the open coded loop and replace
According to commit 5f16f3225b06 (ext4: atomically set inode-i_flags in
ext4_set_inode_flags()).
Signed-off-by: Zhang Zhen zhenzhang.zh...@huawei.com
---
fs/f2fs/inode.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c
index 2550868
__add_ino_entry is looping around the allocation request and minics
__GFP_NOFAIL behavior without any allocation fallback strategy.
Here remove the open coded loop and replace it with __GFP_NOFAIL.
Signed-off-by: Zhang Zhen zhenzhang.zh...@huawei.com
---
fs/f2fs/checkpoint.c | 7 +--
1 file
fix the following checkpatch warning:
WARNING: do {} while (0) macros should not be semicolon terminated
Signed-off-by: Zhang Zhen zhenzhang.zh...@huawei.com
---
fs/f2fs/node.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/f2fs/node.h b/fs/f2fs/node.h
index 5decc1a
.
Signed-off-by: Zhang Zhen zhenzhang.zh...@huawei.com
---
fs/f2fs/inode.c | 17 +
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c
index ee829d3..f7a6553 100644
--- a/fs/f2fs/inode.c
+++ b/fs/f2fs/inode.c
@@ -12,6 +12,7 @@
#include linux