Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754557AbbBLCVd (ORCPT ); Wed, 11 Feb 2015 21:21:33 -0500 Received: from mail-qg0-f53.google.com ([209.85.192.53]:38938 "EHLO mail-qg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752664AbbBLCVc (ORCPT ); Wed, 11 Feb 2015 21:21:32 -0500 From: Kevin Mulvey X-Google-Original-From: Kevin Mulvey To: Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Kevin Mulvey Subject: [PATCH] fix spacing in btrfs/inode.c Date: Wed, 11 Feb 2015 21:17:22 -0500 Message-Id: <1423707442-9485-1-git-send-email-kmulvey@linux.com> X-Mailer: git-send-email 2.1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1635 Lines: 50 This is a patch to inode.c that fixes some spacing errors found by checkpatch.pl Signed-off-by: Kevin Mulvey --- fs/btrfs/inode.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 8bf326a..6516839 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -4545,7 +4545,7 @@ int btrfs_cont_expand(struct inode *inode, loff_t oldsize, loff_t size) break; } last_byte = min(extent_map_end(em), block_end); - last_byte = ALIGN(last_byte , root->sectorsize); + last_byte = ALIGN(last_byte, root->sectorsize); if (!test_bit(EXTENT_FLAG_PREALLOC, &em->flags)) { struct extent_map *hole_em; hole_size = last_byte - cur_offset; @@ -8829,9 +8829,9 @@ static int btrfs_rename(struct inode *old_dir, struct dentry *old_dentry, */ trans = btrfs_start_transaction(root, 11); if (IS_ERR(trans)) { - ret = PTR_ERR(trans); - goto out_notrans; - } + ret = PTR_ERR(trans); + goto out_notrans; + } if (dest != root) btrfs_record_root_in_trans(trans, dest); @@ -9324,7 +9324,7 @@ static int __btrfs_prealloc_file_range(struct inode *inode, int mode, break; } btrfs_drop_extent_cache(inode, cur_offset, - cur_offset + ins.offset -1, 0); + cur_offset + ins.offset - 1, 0); em = alloc_extent_map(); if (!em) { -- 2.1.0 -- 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/