]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] compat_sys_vmsplice: one-off in UIO_MAXIOV check
authorJens Axboe <axboe@suse.de>
Thu, 4 May 2006 07:13:49 +0000 (09:13 +0200)
committerJens Axboe <axboe@suse.de>
Thu, 4 May 2006 07:13:49 +0000 (09:13 +0200)
commit30dc8cd03ed2d66d264817b2e4ca8a269d6c2a1e
tree0034c6798c6463775da82e30561ef6a7e37c5a08
parent660336c7e030a50597a8d4e3edf13ef2e0919bbf
[PATCH] compat_sys_vmsplice: one-off in UIO_MAXIOV check

nr_segs may not be > UIO_MAXIOV, however it may be equal to. This makes
the behaviour identical to the real sys_vmsplice(). The other foov
syscalls also agree that this is the way to go.

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