splice: fix repeated kmap()'s in default_file_splice_read()
authorJens Axboe <jens.axboe@oracle.com>
Wed, 13 May 2009 06:35:35 +0000 (08:35 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 13 May 2009 06:35:35 +0000 (08:35 +0200)
We cannot reliably map more than one page at the time, or we risk
deadlocking. Just allocate the pages from low mem instead.

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/splice.c

diff --cc fs/splice.c
Simple merge