Skip to content

fs.h/dlm: Neatening and argument removals

Joe Perches cluster-devel linux-fsdevel linux-nfs lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9fs.h: Remove unnecessary extern prototypesinclude/linux/fs.h+318 -3181 reply
2/9fs.h: Whitespace neateninginclude/linux/fs.h+250 -2501 reply
3/9fs.h: A few more whitespace neateningsinclude/linux/fs.h+102 -931 reply
4/9fs.h: Add argument names to struct file_lock_operations (*funcs)include/linux/fs.h+2 -21 reply
5/9fs.h: Add member argument descriptions to lock_manager_operationsinclude/linux/fs.h+6 -61 reply
6/9dlm: plock: Add argument descriptions to notifyfs/dlm/plock.c+2 -20 replies
7/9dlm: fs: Remove unused conf from lm_grantfs/dlm/plock.c fs/lockd/svclock.c include/linux/fs.h+8 -141 reply
8/9dlm: plock: Reduce indentation by rearranging orderfs/dlm/plock.c+13 -131 reply
9/9fs: dlm: lockd: Convert int result to unsigned char typefs/dlm/plock.c fs/lockd/svclock.c include/linux/fs.h+9 -95 replies

Reviews trailers per patch

4 of 9 patches have a Reviewed-by or Acked-by.

PatchJeff Layton
1/9
2/9
3/9
4/9A-b
5/9A-b
6/9
7/9R-b
8/9R-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] fs.h/dlm: Neatening and argument removals

fs.h is an important file read by many.

Because of its age and the number of people that have modified it, it's not particularly kernel coding style conformant.

Make it more so.

dlm has an unnecessary always NULL argument passed around. Remove it along with some other neatenings while adding function prototype argument descriptions.

Joe Perches (9):
fs.h: Remove unnecessary extern prototypes
fs.h: Whitespace neatening
fs.h: A few more whitespace neatenings
fs.h: Add argument names to struct file_lock_operations (*funcs) fs.h: Add member argument descriptions to lock_manager_operations
dlm: plock: Add argument descriptions to notiy
dlm: fs: Remove unused conf from lm_grant
dlm: plock: Reduce indentation by rearranging order
fs: dlm: lockd: Convert int result to unsigned char type

 fs/dlm/plock.c     |   34 +-
 fs/lockd/svclock.c |   16 +-
 include/linux/fs.h | 1201 ++++++++++++++++++++++++++--------------------------
 3 files changed, 627 insertions(+), 624 deletions(-)
Signature · 1 line
1.8.1.2.459.gbcd45b4.dirty