Skip to content

udf: improve code related to super_block, was: udf: convert super_block macros to functions

[email protected] lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6udf: fix coding style of super.cfs/udf/super.c+166 -1290 replies
2/6udf: remove some ugly macrosfs/udf/balloc.c fs/udf/file.c fs/udf/ialloc.c +8 more+510 -4432 replies
3/6udf: convert UDF_SB_ALLOC_PARTMAPS macro to udf_sb_alloc_partition_maps functionfs/udf/super.c fs/udf/udf_sb.h+18 -153 replies
4/6udf: check if udf_load_logicalvol failedfs/udf/super.c+6 -10 replies
5/6udf: convert some macros to functionsfs/udf/super.c fs/udf/udf_sb.h+43 -440 replies
6/6udf: fix sparse warnings (shadowing & mismatch between declaration and definition)fs/udf/super.c+1 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] udf: improve code related to super_block, was: udf: convert super_block macros to functions

Hi
This patchset converts macros related to super_block into functions. Besides that it fixes some sparse warnings (6th), improves coding style (1st) and fixes error handling (4th).

Note that udf files has really long lines and these patches won't validate by checkpatch. I'm going to do more cleanups later.

First version of this patchset had 24 patches: http://lkml.org/lkml/2007/12/22/150
01 didn't change
02 was dropped
03-17,20,21 was combined into one (with changes asked by Christoph Hellwig)
18 was slightly changed - function udf_sb_alloc_partition_maps was moved from udf_sb.h to super.c 19 didn't change
22,23 was combined into one and functions moved from udf_sb.h to super.c
24 didn't change

Marcin Slusarz