aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/splice.h
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2009-04-13 20:03:10 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-04-15 12:10:11 +0200
commit91e463c8f5f7a5b09d3d034c01a88567af60c504 (patch)
treeb37b3402f7eb55e9f899d63faf1e2ec520c0a3c7 /include/linux/splice.h
parentcfq-iosched: don't delay queue kick for a merged request (diff)
downloadwireguard-linux-91e463c8f5f7a5b09d3d034c01a88567af60c504.tar.xz
wireguard-linux-91e463c8f5f7a5b09d3d034c01a88567af60c504.zip
block: fix SG_IO to return a proper error value
blk_rq_unmap_user() returns -EFAULT if a program passes an invalid address to kernel. SG_IO path needs to pass the returned value to user space instead of ignoring it. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/splice.h')
0 files changed, 0 insertions, 0 deletions