From patchwork Tue Oct 16 19:13:02 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adil Mujeeb X-Patchwork-Id: 191849 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id E0FF32C009A for ; Wed, 17 Oct 2012 06:15:45 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755928Ab2JPTOK (ORCPT ); Tue, 16 Oct 2012 15:14:10 -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 Received: by mail-pb0-f46.google.com with SMTP id rr4so6271738pbb.19 for ; Tue, 16 Oct 2012 12:14:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=F4abG6mwe0WWdqNRTxUPv9wL+LRkb4xbgmHxorz88Ng=; b=YSt4zuUPEaryeVtRU9WaiC0Gp/s4B2H9KKpgf+oADne4g4V6GJiL7peDkRg/XYEtoN G3Qlrz4X7eKQzcTAXjTlU29Smb04xAcp0RPK0UafedqAITU1sFYBCLAe0Ze5T3apV4Ci nxNqgspHR8Y9RuvTbUM8jY3nPQmA2YwPiXxpvI+VMS8P2vF/XBEhrTfC+5RZaZ+N4v6d nTmytQReDTbfOYZGpD9+4un8yLvACd1LLipwZO6EbCw0RkdH/1QPUzULflqo3woozZyq dqKfir9I+1C+P7NqL8YsbEVbE9J6Ah6Wm7Sl1uNClV1vV5sMEBzYJCBgo5X7VxUTMGnr k+vw== Received: by 10.66.78.129 with SMTP id b1mr316766pax.84.1350414848409; Tue, 16 Oct 2012 12:14:08 -0700 (PDT) Received: from smtp.gmail.com ([122.176.166.103]) by mx.google.com with ESMTPS id po4sm11191548pbb.13.2012.10.16.12.14.04 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 16 Oct 2012 12:14:07 -0700 (PDT) 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-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org 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");