linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] jfs: fix indentation on if statement
@ 2015-06-04 16:57 Colin King
  2015-06-04 18:29 ` Dave Kleikamp
  0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2015-06-04 16:57 UTC (permalink / raw)
  To: Dave Kleikamp, jfs-discussion; +Cc: linux-kernel

From: Colin Ian King <colin.king@canonical.com>

The if statement and closing brace are indented by 1
extra space, so remove this extra spacing.  Cosmetic
change only.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 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!");
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] jfs: fix indentation on if statement
  2015-06-04 16:57 [PATCH] jfs: fix indentation on if statement Colin King
@ 2015-06-04 18:29 ` Dave Kleikamp
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Kleikamp @ 2015-06-04 18:29 UTC (permalink / raw)
  To: Colin King, jfs-discussion; +Cc: linux-kernel

On 06/04/2015 11:57 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> 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 <colin.king@canonical.com>
> ---
>  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!");
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-04 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-04 16:57 [PATCH] jfs: fix indentation on if statement Colin King
2015-06-04 18:29 ` Dave Kleikamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).