[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)
commit98232d504db0a1f91ecaa93686ed3bf61963103b
tree0034c6798c6463775da82e30561ef6a7e37c5a08
parenta0548871ed267ae12eb1c860c5aaebd9e466b34e
[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