[PATCH] fs: f2fs: Remove unnecessary checks of SM_I(sbi) in update_general_status()

2019-07-25 Thread Jia-Ju Bai
Yu for advice. Signed-off-by: Jia-Ju Bai --- fs/f2fs/debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/debug.c b/fs/f2fs/debug.c index 7706049d23bf..9b0bedd82581 100644 --- a/fs/f2fs/debug.c +++ b/fs/f2fs/debug.c @@ -67,7 +67,7 @@ static void

Re: [BUG] fs: f2fs: Possible null-pointer dereferences in update_general_status()

2019-07-25 Thread Jia-Ju Bai
i can still be visited in global stat list, SM_I(sbi) should be released yet. So anyway, let's remove unneeded check in line 70/78. :) Okay, I will send a patch to remove unneeded checks. Best wishes, Jia-Ju Bai

[BUG] fs: f2fs: Possible null-pointer dereferences in update_general_status()

2019-07-25 Thread Jia-Ju Bai
are found by a static analysis tool STCheck written by us. I do not know how to correctly fix these bugs, so I only report them. Best wishes, Jia-Ju Bai

[f2fs-dev] [BUG] fs/f2fs: a possible sleep-in-atomic bug in f2fs_trace_pid

2017-12-11 Thread Jia-Ju Bai
tic analysis tool (DSAC) and my code review. Thanks, Jia-Ju Bai -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/