diff mbox

btrfs: white space cleanup in btrfs_log_inode()

Message ID 20170125151126.GA27572@mwanda (mailing list archive)
State New, archived
Headers show

Commit Message

Dan Carpenter Jan. 25, 2017, 3:11 p.m. UTC
We accidentally deleted a new line in commit 0921910aa6fe ("btrfs: Make
btrfs_log_inode take btrfs_inode")

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Sterba Jan. 26, 2017, 8:40 a.m. UTC | #1
On Wed, Jan 25, 2017 at 06:11:26PM +0300, Dan Carpenter wrote:
> We accidentally deleted a new line in commit 0921910aa6fe ("btrfs: Make
> btrfs_log_inode take btrfs_inode")

Thanks, I've folded the change to the patch that introduced it.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c
index f1dc36a181db..010cf7685677 100644
--- a/fs/btrfs/tree-log.c
+++ b/fs/btrfs/tree-log.c
@@ -4824,7 +4824,8 @@  static int btrfs_log_inode(struct btrfs_trans_handle *trans,
 				err = btrfs_log_inode(trans, root,
 						BTRFS_I(other_inode),
 						LOG_OTHER_INODE, 0, LLONG_MAX,
-						ctx); iput(other_inode);
+						ctx);
+				iput(other_inode);
 				if (err)
 					goto out_unlock;
 				else