Files
android_kernel_xiaomi_sm8450/fs/btrfs
Muthu Kumar c7b22bb19a btrfs: fix missing increment of bi_remaining
In btrfs_end_bio(), we increment bi_remaining if is_orig_bio. If not,
we restore the orig_bio but failed to increment bi_remaining for
orig_bio, which triggers a BUG_ON later when bio_endio is called. Fix
is to increment bi_remaining when we restore the orig bio as well.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
CC: Kent Overstreet <kmo@daterainc.com>
Signed-off-by: Muthukumar Ratty <muthur@gmail.com>
Reviewed-by: Chris Mason <clm@fb.com>
Tested-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2014-01-08 14:19:52 -07:00
..
2013-11-11 22:02:51 -05:00
2013-11-20 20:44:45 -05:00
2013-06-29 12:57:00 +04:00
2013-11-11 22:10:36 -05:00
2013-11-11 22:03:19 -05:00
2008-09-25 11:04:06 -04:00
2013-11-23 22:33:47 -08:00
2012-10-09 09:14:45 -04:00
2013-11-23 22:33:47 -08:00
2013-03-14 14:57:10 -04:00
2013-11-11 21:57:30 -05:00
2013-11-23 22:33:47 -08:00
2013-02-01 14:24:23 -05:00
2013-11-11 22:11:26 -05:00
2012-10-09 09:19:57 -04:00