[PATCH] splice: cleanup the SPLICE_F_NONBLOCK handling
authorJens Axboe <axboe@suse.de>
Wed, 19 Apr 2006 13:56:12 +0000 (15:56 +0200)
committerJens Axboe <axboe@suse.de>
Wed, 19 Apr 2006 13:56:12 +0000 (15:56 +0200)
commitc4f895cbe1e95aab633207fb19c650b7c984c01a
tree3f8fa236d737da19bd9d7c38ab01079caf7d5f56
parent91ad66ef4469cb631ec0ccd131b07f16770773f7
[PATCH] splice: cleanup the SPLICE_F_NONBLOCK handling

- generic_file_splice_read() more readable and correct
- Don't bail on page allocation with NONBLOCK set, just don't allow
  direct blocking on IO (eg lock_page).

Signed-off-by: Jens Axboe <axboe@suse.de>
fs/splice.c