]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] vmsplice: restrict stealing a little more
authorJens Axboe <axboe@suse.de>
Tue, 2 May 2006 13:29:57 +0000 (15:29 +0200)
committerJens Axboe <axboe@suse.de>
Tue, 2 May 2006 13:29:57 +0000 (15:29 +0200)
commitb46a884ab19e8bcbb6a852fa14fc6ef72185a9e8
tree43a9045011116f1afa506b80de1ede9872f45935
parent444870c4c9b7d1c4541a30038c3f05195ea01882
[PATCH] vmsplice: restrict stealing a little more

Apply the same rules as the anon pipe pages, only allow stealing
if no one else is using the page.

Signed-off-by: Jens Axboe <axboe@suse.de>
fs/pipe.c
fs/splice.c
include/linux/pipe_fs_i.h