https://github.com/torvalds/linux
Revision c1c87c2ba9ec06d8ba9e8a26c18c67a2ba9cd9c1 authored by Christoph Hellwig on 04 August 2016, 14:10:01 UTC, committed by Jens Axboe on 04 August 2016, 20:19:16 UTC
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>
1 parent f0225ca
History
Tip revision: c1c87c2ba9ec06d8ba9e8a26c18c67a2ba9cd9c1 authored by Christoph Hellwig on 04 August 2016, 14:10:01 UTC
loop: make do_req_filebacked more robust
Tip revision: c1c87c2
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.3 KB
.mailmap -rw-r--r-- 6.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 95.5 KB
Kbuild -rw-r--r-- 2.8 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 361.2 KB
Makefile -rw-r--r-- 56.9 KB
README -rw-r--r-- 18.1 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top