summaryrefslogtreecommitdiffstats
path: root/fs/block_dev.c
diff options
context:
space:
mode:
authorChristoph Hellwig2016-08-04 16:10:01 +0200
committerJens Axboe2016-08-04 22:19:16 +0200
commitc1c87c2ba9ec06d8ba9e8a26c18c67a2ba9cd9c1 (patch)
tree6ff6442724b953a5da022be0752eb0c346665e7e /fs/block_dev.c
parentloop: don't try to use AIO for discards (diff)
downloadkernel-qcow2-linux-c1c87c2ba9ec06d8ba9e8a26c18c67a2ba9cd9c1.tar.gz
kernel-qcow2-linux-c1c87c2ba9ec06d8ba9e8a26c18c67a2ba9cd9c1.tar.xz
kernel-qcow2-linux-c1c87c2ba9ec06d8ba9e8a26c18c67a2ba9cd9c1.zip
loop: make do_req_filebacked more robust
Use a switch statement to iterate over the possible operations and error out if it's an incorrect one. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions