Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756013Ab2JPTOM (ORCPT ); Tue, 16 Oct 2012 15:14:12 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:49753 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755823Ab2JPTOI (ORCPT ); Tue, 16 Oct 2012 15:14:08 -0400 From: Adil Mujeeb To: tytso@mit.edu, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Adil Mujeeb Subject: [PATCH 07/10] ext4: inode: Fixed coding style issue Date: Wed, 17 Oct 2012 00:43:02 +0530 Message-Id: <1350414785-7848-7-git-send-email-mujeeb.adil@gmail.com> X-Mailer: git-send-email 1.7.6.msysgit.0 In-Reply-To: <1350414785-7848-1-git-send-email-mujeeb.adil@gmail.com> References: <1350414785-7848-1-git-send-email-mujeeb.adil@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1379 Lines: 40 Fixed coding style issue reported by checkpatch.pl Signed-off-by: Adil Mujeeb --- linux-3.7-rc1/fs/ext4/inode.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/linux-3.7-rc1/fs/ext4/inode.c b/linux-3.7-rc1/fs/ext4/inode.c index b3c243b..a174620 100644 --- a/linux-3.7-rc1/fs/ext4/inode.c +++ b/linux-3.7-rc1/fs/ext4/inode.c @@ -2880,7 +2880,7 @@ static void ext4_end_io_dio(struct kiocb *iocb, loff_t offset, bool is_async) { struct inode *inode = iocb->ki_filp->f_path.dentry->d_inode; - ext4_io_end_t *io_end = iocb->private; + ext4_io_end_t *io_end = iocb->private; /* if not async direct IO or dio with 0 bytes write, just return */ if (!io_end || !size) @@ -3435,9 +3435,9 @@ static int ext4_discard_partial_page_buffers_no_lock(handle_t *handle, zero_user(page, pos, range_to_discard); err = 0; - if (ext4_should_journal_data(inode)) { + if (ext4_should_journal_data(inode)) err = ext4_handle_dirty_metadata(handle, inode, bh); - } else + else mark_buffer_dirty(bh); BUFFER_TRACE(bh, "Partial buffer zeroed"); -- 1.7.7.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/