]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitbd18ca1352df3820a10449e30a7a67a7699afc74
tree3f8fa236d737da19bd9d7c38ab01079caf7d5f56
parenteb7caaa04667afcad62ed36fec1dc586686382c8
[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