login
Header Space

 
 

Re: [git patches] ocfs2 update

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: <torvalds@...>, <linux-kernel@...>, <ocfs2-devel@...>, Joel Becker <Joel.Becker@...>
Date: Thursday, February 7, 2008 - 5:37 pm

On Thu, Feb 07, 2008 at 12:47:45PM -0800, Andrew Morton wrote:

Yeah, a better name would probably help with readability. Joel, how about
dlm_protocol_compare_and_set()?



FWIW - I've run all patches through checkpatch.pl since your last review.
This one went through a couple cycles of checkpatch actually :) There's
three warnings that I get:

ERROR: "foo * bar" should be "foo *bar"
#70: FILE: fs/ocfs2/dlm/dlmapi.h:200:
+struct dlm_ctxt * dlm_register_domain(const char *domain, u32 key,

WARNING: line over 80 characters
#269: FILE: fs/ocfs2/dlm/dlmdomain.c:813:
+
#&dlm->fs_locking_proto,

WARNING: line over 80 characters
#270: FILE: fs/ocfs2/dlm/dlmdomain.c:814:
+
#&query->fs_proto)) {

total: 1 errors, 2 warnings, 569 lines checked


The "foo * bar" one is from existing code which got moved, and I felt that
leaving them unmodified was cleaner from a patch-reading perspective.

The over 80 characters warnings were ignored as the code seemed more
readable as-is.


I guess a lot of this can be subjective though, so I can be super strict if
you really feel it's necessary.


Thanks,
	--Mark

--
Mark Fasheh
Principal Software Developer, Oracle
mark.fasheh@oracle.com
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[git patches] ocfs2 update, Mark Fasheh, (Thu Feb 7, 4:09 pm)
Re: [git patches] ocfs2 update, Andrew Morton, (Thu Feb 7, 4:47 pm)
Re: [git patches] ocfs2 update, Mark Fasheh, (Thu Feb 7, 5:37 pm)
Re: [git patches] ocfs2 update, Joel Becker, (Thu Feb 7, 6:29 pm)
Re: [git patches] ocfs2 update, Andrew Morton, (Thu Feb 7, 6:17 pm)
speck-geostationary