Re: [PATCH] Btrfs: fix error path when failing to submit bio for direct IO write

2015-11-25 Thread Filipe Manana
On Wed, Nov 25, 2015 at 5:58 PM, Liu Bo wrote: > On Tue, Nov 24, 2015 at 05:25:18PM +, fdman...@kernel.org wrote: >> From: Filipe Manana >> >> Commit 61de718fceb6 ("Btrfs: fix memory corruption on failure to submit >> bio for direct IO") fixed

Re: [PATCH] Btrfs: fix error path when failing to submit bio for direct IO write

2015-11-25 Thread Liu Bo
On Tue, Nov 24, 2015 at 05:25:18PM +, fdman...@kernel.org wrote: > From: Filipe Manana > > Commit 61de718fceb6 ("Btrfs: fix memory corruption on failure to submit > bio for direct IO") fixed problems with the error handling code after we > fail to submit a bio for direct

[PATCH] Btrfs: fix error path when failing to submit bio for direct IO write

2015-11-25 Thread fdmanana
From: Filipe Manana Commit 61de718fceb6 ("Btrfs: fix memory corruption on failure to submit bio for direct IO") fixed problems with the error handling code after we fail to submit a bio for direct IO. However there were 2 problems that it did not address when the failure is