Re: [PATCH] btrfs: simplify code with bio_io_error

2017-06-05 Thread David Sterba
On Fri, Jun 02, 2017 at 04:08:50PM +0800, Guoqing Jiang wrote: > bio_io_error was introduced in the commit 4246a0b > ("block: add a bi_error field to struct bio"), so > use it to simplify code. > > Signed-off-by: Guoqing Jiang Reviewed-by: David Sterba -- To unsubscribe from this list: send the

[PATCH] btrfs: simplify code with bio_io_error

2017-06-02 Thread Guoqing Jiang
bio_io_error was introduced in the commit 4246a0b ("block: add a bi_error field to struct bio"), so use it to simplify code. Signed-off-by: Guoqing Jiang --- fs/btrfs/inode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 17cbe93..