Re: Re: [f2fs-dev] [PATCH 1/3] f2fs:remove unnecessary condition judgment

2015-03-08 Thread Yuan Zhong
Hi Lee, >On Sat, Mar 07, 2015 at 10:05:25AM +, Yuan Zhong wrote: >> Remove the unnecessary condition judgment, because >> 'max_slots' has been initialized to '0' at the beginging >> of the function, as following: >> if (max_slots) >>max_len = 0; > >There is wrong statement. It should

Re: [f2fs-dev] [PATCH 1/3] f2fs:remove unnecessary condition judgment

2015-03-08 Thread Changman Lee
Hi Yuan, On Sat, Mar 07, 2015 at 10:05:25AM +, Yuan Zhong wrote: > Remove the unnecessary condition judgment, because > 'max_slots' has been initialized to '0' at the beginging > of the function, as following: > if (max_slots) >max_len = 0; There is wrong statement. It should be fix

[f2fs-dev] [PATCH 1/3] f2fs:remove unnecessary condition judgment

2015-03-07 Thread Yuan Zhong
Remove the unnecessary condition judgment, because 'max_slots' has been initialized to '0' at the beginging of the function, as following: if (max_slots) max_len = 0; Signed-off-by: Yuan Zhong --- fs/f2fs/dir.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi