commit | c1c87c2ba9ec06d8ba9e8a26c18c67a2ba9cd9c1 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Aug 04 16:10:01 2016 +0200 |
committer | Jens Axboe <axboe@fb.com> | Thu Aug 04 14:19:16 2016 -0600 |
tree | 6ff6442724b953a5da022be0752eb0c346665e7e | |
parent | f0225cacfe7e69ff3234a125aeb0f3d65077835c [diff] |
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>