Skip to content

udf: cleanup

[email protected] lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16udf: fix coding style of super.cfs/udf/super.c+166 -1290 replies
2/16udf: remove some ugly macrosfs/udf/balloc.c fs/udf/file.c fs/udf/ialloc.c +8 more+510 -4430 replies
3/16udf: convert UDF_SB_ALLOC_PARTMAPS macro to udf_sb_alloc_partition_maps functionfs/udf/super.c fs/udf/udf_sb.h+23 -150 replies
4/16udf: check if udf_load_logicalvol failedfs/udf/super.c+4 -11 reply
5/16udf: convert macros related to bitmaps to functionsfs/udf/super.c fs/udf/udf_sb.h+55 -441 reply
6/16udf: move calculating of nr_groups into helper functionfs/udf/balloc.c fs/udf/super.c fs/udf/udf_sb.h+13 -91 reply
7/16udf: fix sparse warnings (shadowing & mismatch between declaration and definition)fs/udf/super.c+1 -20 replies
8/16udf: fix coding style+0 -00 replies
9/16udf: create common function for tag checksummingfs/udf/inode.c fs/udf/misc.c fs/udf/namei.c +2 more+22 -561 reply
10/16udf: create common function for changing free space counterfs/udf/balloc.c+20 -293 replies
11/16udf: replace loops coded with goto to real loopsfs/udf/balloc.c+59 -591 reply
12/16udf: convert byte order of constant instead of variablefs/udf/directory.c fs/udf/inode.c fs/udf/misc.c +1 more+24 -240 replies
13/16udf: remove UDF_I_* macros and open code themfs/udf/balloc.c fs/udf/dir.c fs/udf/directory.c +11 more+315 -3140 replies
14/16udf: cache struct udf_inode_infofs/udf/balloc.c fs/udf/dir.c fs/udf/directory.c +8 more+338 -2910 replies
15/16udf: fix udf_debug macroinclude/linux/udf_fs.h+2 -21 reply
16/16udf: improve readability of udf_load_partitionfs/udf/super.c+30 -291 reply

Reviews trailers per patch

14 of 16 patches have a Reviewed-by or Acked-by.

PatchJan KaraChristoph Hellwig
1/16A-b
2/16A-b
3/16A-b
4/16A-b
5/16A-b
6/16A-b
7/16A-b
8/16
9/16A-b
10/16A-b
11/16A-b
12/16A-b
13/16A-b
14/16A-b
15/16
16/16A-b

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 00/16] udf: cleanup

Hi

This patchset contains various UDF fs cleanups.
It deprecates two patchsets I sent lately:

http://lkml.org/lkml/2008/1/5/196 [PATCH 0/6] udf: improve code related to super_block v3
http://lkml.org/lkml/2008/1/5/211 [PATCH 0/7] udf: more cleanups

I hope I addressed all comments sent by Christoph Hellwig and Jan Kara. Thanks for review!

[PATCH 01/16] udf: fix coding style of super.c
[PATCH 02/16] udf: remove some ugly macros
[PATCH 03/16] udf: convert UDF_SB_ALLOC_PARTMAPS macro to udf_sb_alloc_partition_maps function [PATCH 04/16] udf: check if udf_load_logicalvol failed
[PATCH 05/16] udf: convert macros related to bitmaps to functions
[PATCH 06/16] udf: move calculating of nr_groups into helper function
[PATCH 07/16] udf: fix sparse warnings (shadowing & mismatch between declaration and definition) [PATCH 08/16] udf: fix coding style
[PATCH 09/16] udf: create common function for tag checksumming
[PATCH 10/16] udf: create common function for changing free space counter
[PATCH 11/16] udf: replace loops coded with goto to real loops
[PATCH 12/16] udf: convert byte order of constant instead of variable
[PATCH 13/16] udf: remove UDF_I_* macros and open code them
[PATCH 14/16] udf: cache struct udf_inode_info

These patches are new:
[PATCH 15/16] udf: fix udf_debug macro
[PATCH 16/16] udf: improve readability of udf_load_partition

 fs/udf/balloc.c           |  491 ++++++++++++---------
 fs/udf/crc.c              |    2 +-
 fs/udf/dir.c              |    8 +-
 fs/udf/directory.c        |   94 +++--
 fs/udf/file.c             |   43 ++-
 fs/udf/ialloc.c           |   94 +++--
 fs/udf/inode.c            |  957 +++++++++++++++++++++++-----------------
 fs/udf/misc.c             |  146 ++++---
 fs/udf/namei.c            |  413 ++++++++++-------
 fs/udf/partition.c        |  197 ++++++---
 fs/udf/super.c            | 1081 ++++++++++++++++++++++++++++-----------------
 fs/udf/symlink.c          |    9 +-
 fs/udf/truncate.c         |  100 +++--
 fs/udf/udf_i.h            |   16 -
 fs/udf/udf_sb.h           |   88 +----
 fs/udf/udfdecl.h          |   11 +-
 fs/udf/udftime.c          |   59 ++--
 fs/udf/unicode.c          |   85 ++--
 include/linux/udf_fs.h    |    4 +-
 include/linux/udf_fs_sb.h |   12 +-
 20 files changed, 2261 insertions(+), 1649 deletions(-)

This patchset depends on udf patches in -mm. Runtime tested: mount, open, read, seek, close, unmount.

Marcin Slusarz