commit | c1c534609fe8a859f9c8108a5591e6e8a97e34d1 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Tue Nov 10 10:14:38 2015 -0700 |
committer | Jens Axboe <axboe@fb.com> | Tue Nov 10 10:14:38 2015 -0700 |
tree | f064a2591788be8ac0fcaf4315ed38f8e33bff3a | |
parent | 15c4f638f3d41bae52105ca4c0c8760afbcbeaab [diff] |
direct-io: be sure to assign dio->bio_bdev for both paths btrfs sets ->submit_io(), and we failed to set the block dev for that path. That resulted in a potential NULL dereference when we later wait for IO in dio_await_one(). Reported-by: kernel test robot <ying.huang@linux.intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>