summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorJens Axboe2015-11-10 18:14:38 +0100
committerJens Axboe2015-11-10 18:14:38 +0100
commitc1c534609fe8a859f9c8108a5591e6e8a97e34d1 (patch)
treef064a2591788be8ac0fcaf4315ed38f8e33bff3a /drivers/md
parentdirectio: add block polling support (diff)
downloadkernel-qcow2-linux-c1c534609fe8a859f9c8108a5591e6e8a97e34d1.tar.gz
kernel-qcow2-linux-c1c534609fe8a859f9c8108a5591e6e8a97e34d1.tar.xz
kernel-qcow2-linux-c1c534609fe8a859f9c8108a5591e6e8a97e34d1.zip
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>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions