Re: [PATCH 1/2] Fix some coding-style errors in autofs

From: Randy.Dunlap
Date: Tue Mar 13 2007 - 01:02:55 EST


On Mon, 12 Mar 2007 sukadev@xxxxxxxxxx wrote:

> From: Sukadev Bhattiprolu <sukadev@xxxxxxxxxx>
> Subject: [PATCH 1/2] Fix some coding-style errors in autofs
>
> Fix coding style errors (extra spaces, long lines) in autofs
> and autofs4 files being modified for container/pidspace issues.
>
> ---
> fs/autofs/inode.c | 29 +++++++++++--------
> fs/autofs/root.c | 77 ++++++++++++++++++++++++++---------------------------
> fs/autofs4/inode.c | 16 ++++-------
> fs/autofs4/root.c | 18 ++++++------
> 4 files changed, 70 insertions(+), 70 deletions(-)
>
> Index: lx26-20-mm2c/fs/autofs/inode.c
> ===================================================================
> --- lx26-20-mm2c.orig/fs/autofs/inode.c 2007-02-28 14:48:35.000000000 -0800
> +++ lx26-20-mm2c/fs/autofs/inode.c 2007-02-28 15:47:09.000000000 -0800
> @@ -34,12 +34,12 @@ void autofs_kill_sb(struct super_block *
>
> autofs_hash_nuke(sbi);
> - for ( n = 0 ; n < AUTOFS_MAX_SYMLINKS ; n++ ) {
> - if ( test_bit(n, sbi->symlink_bitmap) )
> + for (n = 0 ; n < AUTOFS_MAX_SYMLINKS ; n++) {
> + if (test_bit(n, sbi->symlink_bitmap))
> kfree(sbi->symlink[n].data);
> }

Please do a complete job on the 'for' line by eliminating the
space before each semi-colon.

--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/