Re: [PATCH 1/2] [btrfs] btrfs_rename: abort transaction in case of error.

2015-06-30 Thread Filipe David Manana
On Tue, Jun 30, 2015 at 5:17 AM, Davide Italiano wrote: > On Mon, Jun 29, 2015 at 4:59 AM, Filipe David Manana > wrote: >> On Sun, Jun 28, 2015 at 10:47 PM, Davide C. C. Italiano >> wrote: >>> From: Davide Italiano >>> >>> btrfs_insert_inode_ref() may fail and we want to make sure >>> the tran

Re: [PATCH 1/2] [btrfs] btrfs_rename: abort transaction in case of error.

2015-06-29 Thread Davide Italiano
On Mon, Jun 29, 2015 at 4:59 AM, Filipe David Manana wrote: > On Sun, Jun 28, 2015 at 10:47 PM, Davide C. C. Italiano > wrote: >> From: Davide Italiano >> >> btrfs_insert_inode_ref() may fail and we want to make sure >> the transaction is aborted before calling btrfs_end_transaction(), >> as it

Re: [PATCH 1/2] [btrfs] btrfs_rename: abort transaction in case of error.

2015-06-29 Thread Filipe David Manana
On Sun, Jun 28, 2015 at 10:47 PM, Davide C. C. Italiano wrote: > From: Davide Italiano > > btrfs_insert_inode_ref() may fail and we want to make sure > the transaction is aborted before calling btrfs_end_transaction(), > as it already happens everywhere else in this function in case > of error. >

[PATCH 1/2] [btrfs] btrfs_rename: abort transaction in case of error.

2015-06-28 Thread Davide C. C. Italiano
From: Davide Italiano btrfs_insert_inode_ref() may fail and we want to make sure the transaction is aborted before calling btrfs_end_transaction(), as it already happens everywhere else in this function in case of error. Signed-off-by: Davide Italiano --- fs/btrfs/inode.c | 5 - 1 file cha