NFS: refactor nfs_direct_free_user_pages
authorChuck Lever <cel@netapp.com>
Tue, 20 Jun 2006 16:56:31 +0000 (12:56 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 24 Jun 2006 17:11:39 +0000 (13:11 -0400)
commit9c93ab7dff5eb22027ab15010557bb73f9b44c99
tree654a010c2aa161d0f9f49d7137410aaca1ebd2ba
parent51a7bc6caec94bab256b272bffd24d00ea81c698
NFS: refactor nfs_direct_free_user_pages

Clean-up and fix a minor bug: the logic was dirtying page cache pages on
both read and write operations.

Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/direct.c