diff options
author | Christoph Hellwig | 2016-08-04 16:10:01 +0200 |
---|---|---|
committer | Jens Axboe | 2016-08-04 22:19:16 +0200 |
commit | c1c87c2ba9ec06d8ba9e8a26c18c67a2ba9cd9c1 (patch) | |
tree | 6ff6442724b953a5da022be0752eb0c346665e7e /fs | |
parent | loop: don't try to use AIO for discards (diff) | |
download | kernel-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')
0 files changed, 0 insertions, 0 deletions