Re: [PATCH] btrfs: use new block error code

2017-06-21 Thread Jens Axboe
On 06/21/2017 07:17 AM, David Sterba wrote: > On Mon, Jun 19, 2017 at 01:55:37PM +0300, Dan Carpenter wrote: >> This function is supposed to return blk_status_t error codes now but >> there was a stray -ENOMEM left behind. >> >> Fixes: 4e4cbee93d56 ("block: switch bios to blk_status_t") >> Signed-o

Re: [PATCH] btrfs: use new block error code

2017-06-21 Thread David Sterba
On Mon, Jun 19, 2017 at 01:55:37PM +0300, Dan Carpenter wrote: > This function is supposed to return blk_status_t error codes now but > there was a stray -ENOMEM left behind. > > Fixes: 4e4cbee93d56 ("block: switch bios to blk_status_t") > Signed-off-by: Dan Carpenter Acked-by: David Sterba Th

Re: [PATCH] btrfs: use new block error code

2017-06-20 Thread Christoph Hellwig
On Mon, Jun 19, 2017 at 01:55:37PM +0300, Dan Carpenter wrote: > This function is supposed to return blk_status_t error codes now but > there was a stray -ENOMEM left behind. > > Fixes: 4e4cbee93d56 ("block: switch bios to blk_status_t") > Signed-off-by: Dan Carpenter Looks fine, Acked-by: Chri

[PATCH] btrfs: use new block error code

2017-06-19 Thread Dan Carpenter
This function is supposed to return blk_status_t error codes now but there was a stray -ENOMEM left behind. Fixes: 4e4cbee93d56 ("block: switch bios to blk_status_t") Signed-off-by: Dan Carpenter diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c index e536e98fe351..2c0b7b57fcd5 100644