Re: [PATCH] jfs: fix indentation on if statement

Dave Kleikamp <[email protected]>
Newsgroups gmane.comp.file-systems.jfs.general
Message-ID <557098FD.8090208__29402.2101363682$1433442601$gmane$org@oracle.com>
On 06/04/2015 11:57 AM, Colin King wrote:
> From: Colin Ian King <[email protected]>
> 
> The if statement and closing brace are indented by 1
> extra space, so remove this extra spacing.  Cosmetic
> change only.

Thanks. Pushed to jfs-next.

> 
> Signed-off-by: Colin Ian King <[email protected]>
> ---
>  fs/jfs/inode.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/fs/jfs/inode.c b/fs/jfs/inode.c
> index 070dc4b..28d69fa 100644
> --- a/fs/jfs/inode.c
> +++ b/fs/jfs/inode.c
> @@ -133,11 +133,11 @@ int jfs_write_inode(struct inode *inode, struct writeback_control *wbc)
>  	 * It has been committed since the last change, but was still
>  	 * on the dirty inode list.
>  	 */
> -	 if (!test_cflag(COMMIT_Dirty, inode)) {
> +	if (!test_cflag(COMMIT_Dirty, inode)) {
>  		/* Make sure committed changes hit the disk */
>  		jfs_flush_journal(JFS_SBI(inode->i_sb)->log, wait);
>  		return 0;
> -	 }
> +	}
>  
>  	if (jfs_commit_inode(inode, wait)) {
>  		jfs_err("jfs_write_inode: jfs_commit_inode failed!");
> 

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.