OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 1/2] Fix some coding-style errors in autofs
Re: [PATCH 1/2] Fix some coding-style errors in autofs [message #17759 is a reply to message #17756] Tue, 13 March 2007 05:02 Go to previous messageGo to previous message
rdunlap is currently offline  rdunlap
Messages: 11
Registered: May 2006
Junior Member
On Mon, 12 Mar 2007 sukadev@us.ibm.com wrote:

> From: Sukadev Bhattiprolu <sukadev@us.ibm.com>
> 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
_______________________________________________
Containers mailing list
Containers@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Previous Topic: Re: [ckrm-tech] [PATCH 1/2] rcfs core patch
Next Topic: [PATCH v2] Race between cat /proc/kallsyms and rmmod
Goto Forum:
  


Current Time: Tue Jul 22 12:41:49 GMT 2025

Total time taken to generate the page: 0.12898 seconds