nfsd: fix nfsd_vfs_read() splice actor setup
authorJens Axboe <jens.axboe@oracle.com>
Fri, 13 Jul 2007 20:42:20 +0000 (22:42 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 13 Jul 2007 23:45:43 +0000 (16:45 -0700)
commit4fbef206daead133085fe33905f5e842d38fb8da
tree94689f4fc018e0a599db08a6902fbc079d33c07e
parent4fd885170bf13841ada921495b7b00c4b9971cf9
nfsd: fix nfsd_vfs_read() splice actor setup

When nfsd was transitioned to use splice instead of sendfile() for data
transfers, a line setting the page index was lost. Restore it, so that
nfsd is functional when that path is used.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nfsd/vfs.c