Re: [PATCH] btrfs: fix call to btrfs_end_transaction without a transaction handler

2017-10-16 Thread David Sterba
On Fri, Oct 13, 2017 at 10:16:54AM +0800, Anand Jain wrote: > In btrfs_init_new_device() when btrfs_attach_transaction() fails we > shouldn't call btrfs_end_transaction(). Fix it. > > Signed-off-by: Anand Jain > Fixes: > btrfs: error out if btrfs_attach_transaction() fails > --- > Hi David, >

[PATCH] btrfs: fix call to btrfs_end_transaction without a transaction handler

2017-10-12 Thread Anand Jain
In btrfs_init_new_device() when btrfs_attach_transaction() fails we shouldn't call btrfs_end_transaction(). Fix it. Signed-off-by: Anand Jain Fixes: btrfs: error out if btrfs_attach_transaction() fails --- Hi David, Can you pls squash this changes to the patch which it fixes. OR if its bett