[f2fs-dev] [PATCH] f2fs: fix ref of discard command

2017-06-11 Thread Jaegeuk Kim
This patch resolves kernel panic for xfstests/081, caused by recent f2fs_bug_on f2fs: add f2fs_bug_on in __remove_discard_cmd Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 86a0c1095939..a6d773

Re: [f2fs-dev] [PATCH] Bugfix - programm shows proper help communicate

2017-06-11 Thread Jaegeuk Kim
Hi Piotr, Please give me a patch subject properly like "f2fs-tools: fix something". And, could you please describe what the problem is? Please resolve the below two minor patch format errors. Thanks, On 06/10, Piotr SokoĊ‚owski wrote: > From: Jacek Kupiec > > --- > fsck/main.c | 479 > ++

[f2fs-dev] [PATCH 3/4] f2fs: fix incorrect document of batched_trim_sections

2017-06-11 Thread Chao Yu
Signed-off-by: Chao Yu --- Documentation/ABI/testing/sysfs-fs-f2fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/ABI/testing/sysfs-fs-f2fs b/Documentation/ABI/testing/sysfs-fs-f2fs index ae59451865a6..ffe97abd080a 100644 --- a/Documentation/ABI/testing/sysfs-f

[f2fs-dev] [PATCH 1/4] f2fs: fix to show injection rate in ->show_options

2017-06-11 Thread Chao Yu
If fault injection functionality is enabled, show additional injection rate in ->show_options. Signed-off-by: Chao Yu --- fs/f2fs/super.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 02cda00284e1..1c05763616b2 100644 --- a/fs/f2fs/

[f2fs-dev] [PATCH 4/4] f2fs: fix wrong error number of fill_super

2017-06-11 Thread Chao Yu
This patch fixes incorrect error number in error path of fill_super. Signed-off-by: Chao Yu --- fs/f2fs/super.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 1c05763616b2..b26ae4d648cb 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/su

[f2fs-dev] [PATCH 2/4] f2fs: fix to document fault injection option and sysfs file

2017-06-11 Thread Chao Yu
Commit 73faec4d9935 ("f2fs: add mount option to select fault injection ratio") and Commit 087968974fcd ("f2fs: add fault injection to sysfs") forget to document mount option and sysfs file. This patch fixes to document them. Signed-off-by: Chao Yu --- Documentation/ABI/testing/sysfs-fs-f2fs | 1

[f2fs-dev] [PATCH] f2fs: Fix a return value in case of error in 'f2fs_fill_super'

2017-06-11 Thread Christophe JAILLET
err must be set to -ENOMEM, otherwise we return 0. Fixes: a912b54d3aaa0 ("f2fs: split bio cache") Signed-off-by: Christophe JAILLET --- fs/f2fs/super.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 5be27eacea99..38f1624ac5dc 100644