Re: [PATCH v1 05/11] locks: encapsulate the fl_link list handling

2013-06-04 Thread J. Bruce Fields
On Fri, May 31, 2013 at 11:07:28PM -0400, Jeff Layton wrote: > Move the fl_link list handling routines into a separate set of helpers. > Also move the global list handling out of locks_insert_block, and into > the caller that ends up triggering it as that allows us to eliminate the > IS_POSIX check

[PATCH v1 05/11] locks: encapsulate the fl_link list handling

2013-05-31 Thread Jeff Layton
Move the fl_link list handling routines into a separate set of helpers. Also move the global list handling out of locks_insert_block, and into the caller that ends up triggering it as that allows us to eliminate the IS_POSIX check there. Signed-off-by: Jeff Layton --- fs/locks.c | 34 +