Re: [PATCH/URL] reiserfs: reformat code with Lindent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 12 July 2005 23:42, Jeff Mahoney wrote:
>  The ReiserFS code is a mix of a number of different coding styles, sometimes
>  different even from line-to-line. Since the code has been relatively stable
>  for quite some time and there are few outstanding patches to be applied, it
>  is time to reformat the code to conform to the Linux style standard outlined
>  in Documentation/CodingStyle.

>  This patch contains the result of running scripts/Lindent

With -psl picked up.

	-int is_reusable (struct super_block * s, b_blocknr_t block, int bit_value)
	+int
	+is_reusable(struct super_block *s, b_blocknr_t block, int bit_value)

>  against 
>  fs/reiserfs/*.c

patching file fs/reiserfs/item_ops.c
Hunk #1 FAILED at 793.
1 out of 1 hunk FAILED -- saving rejects to file fs/reiserfs/item_ops.c.rej

>  and include/linux/reiserfs_*.h. 

Only fs/reiserfs/*.c part.

$ diffstat -p1 01-reiserfs-lindent.diff
 fs/reiserfs/bitmap.c          | 1932 ++++++-----
 fs/reiserfs/dir.c             |  485 +-
 fs/reiserfs/do_balan.c        | 3229 +++++++++++--------
 fs/reiserfs/file.c            | 2615 ++++++++-------
 fs/reiserfs/fix_node.c        | 4136 ++++++++++++------------
 fs/reiserfs/hashes.c          |  198 -
 fs/reiserfs/ibalance.c        | 1851 +++++------
 fs/reiserfs/inode.c           | 5005 +++++++++++++++---------------
 fs/reiserfs/ioctl.c           |  203 -
 fs/reiserfs/item_ops.c        |   18
 fs/reiserfs/journal.c         | 6994 ++++++++++++++++++++++--------------------
 fs/reiserfs/lbalance.c        | 2232 ++++++-------
 fs/reiserfs/namei.c           | 2637 ++++++++-------
 fs/reiserfs/objectid.c        |  308 -
 fs/reiserfs/prints.c          | 1065 +++---
 fs/reiserfs/procfs.c          |  751 ++--
 fs/reiserfs/resize.c          |  208 -
 fs/reiserfs/stree.c           | 3488 ++++++++++----------
 fs/reiserfs/super.c           | 3751 +++++++++++-----------
 fs/reiserfs/tail_conversion.c |  467 +-
 fs/reiserfs/xattr.c           | 2148 ++++++------
 fs/reiserfs/xattr_acl.c       |  632 +--
 fs/reiserfs/xattr_security.c  |   53
 fs/reiserfs/xattr_trusted.c   |   69
 fs/reiserfs/xattr_user.c      |   88
 25 files changed, 23412 insertions(+), 21151 deletions(-)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux