[f2fs-dev] [PATCH] f2fs: avoid uneeded check of xattr name

2014-05-04 Thread Zhang Zhen
In all the callers of f2fs_set(get)xattr(), the xattr name can not be NULL. Signed-off-by: Zhang Zhen --- fs/f2fs/xattr.c | 5 - 1 file changed, 5 deletions(-) diff --git a/fs/f2fs/xattr.c b/fs/f2fs/xattr.c index 503c245..f382e24 100644 --- a/fs/f2fs/xattr.c +++ b/fs/f2fs/xattr.c @@ -404,8

[f2fs-dev] [PATCH] f2fs: fix checkpatch warning

2014-05-04 Thread Zhang Zhen
fix the following checkpatch warning: WARNING: do {} while (0) macros should not be semicolon terminated Signed-off-by: Zhang Zhen --- 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..dbd65a7e0 100644 --- a/fs/f

[f2fs-dev] Segment size

2014-05-04 Thread Paul Ni
Is it possible to set an arbitrary segment size? I'm trying to set it to 1.5MiB to make it align with erase blocks on flash chips in my EVO 840 SSD. -- Is your legacy SCM system holding you back? Join Perforce May 7 to find