Re: [PATCH] fs/dcache.c: revamped to use a more straightforward and efficient way to operate

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Denis Cheng <crquan@...>
Cc: Alexander Viro <viro@...>, <linux-kernel@...>, <cr_quan@...>
Date: Monday, October 1, 2007 - 1:25 pm

Hello,

  thanks for the patch. I have a few comments to it:
1) the patch should have a description in it, not only an email subject
2) usually, if an 'if' branch ends with return, as is the case in your
   patch, we don't use 'else' for the other branch...

BTW: I'm not convinced your code would be faster (or slower) than the
original one but you're right it will be easier to read...

								Honza

-- 
Jan Kara <jack@suse.cz>
SuSE CR Labs
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] fs/dcache.c: revamped to use a more straightforw..., Jan Kara, (Mon Oct 1, 1:25 pm)