Files
android_kernel_xiaomi_sm8450/fs/btrfs
Jan Schmidt 1503140d3e btrfs: Do not use bio->bi_bdev after submission
The block layer modifies bio->bi_bdev and bio->bi_sector while working on
the bio, they do _not_ come back unmodified in the completion callback.

To call add_page, we need at least some bi_bdev set, which is why the code
was working, previously. With this patch, we use the latest_bdev from
fsinfo instead of the leftover in the bio. This gives us the possibility to
use the bi_bdev field for another purpose.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
2011-09-29 13:38:42 +02:00
..
2011-07-26 16:49:47 -07:00
2008-09-25 11:04:06 -04:00
2011-09-18 10:34:02 -04:00
2010-12-22 23:15:47 +08:00
2011-06-17 14:54:18 -04:00
2011-05-28 07:00:39 -04:00
2011-08-16 21:09:15 -04:00
2011-09-11 10:52:25 -04:00