commit | 054ec2f626ed5bc1633addfabb1d8de1b56f949d | [log] [tgz] |
---|---|---|
author | Guoqing Jiang <gqjiang@suse.com> | Fri Jun 02 16:08:50 2017 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Jun 19 18:26:01 2017 +0200 |
tree | eb184c938d79ab0ac5a66e8d6fd34e21617ffeaf | |
parent | 25ff17e82f9612dcd1cf4668acb2148e18305507 [diff] |
btrfs: simplify code with bio_io_error bio_io_error was introduced in the commit 4246a0b63bd8f56a1469b ("block: add a bi_error field to struct bio"), so use it to simplify code. Signed-off-by: Guoqing Jiang <gqjiang@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>