[f2fs-dev] [PATCH -next] f2fs: make __allocate_new_segment() static

2020-07-01 Thread Wei Yongjun
From: Hulk Robot From: Hulk Robot Fix sparse build warning: fs/f2fs/segment.c:2736:6: warning: symbol '__allocate_new_segment' was not declared. Should it be static? Signed-off-by: Hulk Robot --- fs/f2fs/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/

[f2fs-dev] [PATCH -next] f2fs: make local functions static

2018-01-05 Thread Wei Yongjun
:5: warning: symbol 'f2fs_get_projid' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- fs/f2fs/segment.c | 4 ++-- fs/f2fs/super.c | 2 +- 2 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index b03f65e..36bfd53 100644 --- a/f

[f2fs-dev] [PATCH -next] f2fs: fix non static symbol warning

2016-08-23 Thread Wei Yongjun
From: Wei Yongjun Fixes the following sparse warning: fs/f2fs/data.c:969:12: warning: symbol 'f2fs_grab_bio' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- fs/f2fs/data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/data.c

[f2fs-dev] [PATCH -next] f2fs: fix error return code in init_f2fs_fs()

2013-08-22 Thread Wei Yongjun
From: Wei Yongjun Fix to return -ENOMEM in the kset create and add error handling case instead of 0, as done elsewhere in this function. Introduced by commit b59d0bae6ca30c496f298881616258f9cde0d9c6. (f2fs: add sysfs support for controlling the gc_thread) Signed-off-by: Wei Yongjun --- fs