NFS: Fix nfs_direct_dirty_pages()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 22 May 2007 14:22:27 +0000 (10:22 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 24 May 2007 15:18:18 +0000 (11:18 -0400)
We only need to dirty the pages that were actually read in.

Also convert nfs_direct_dirty_pages() to call set_page_dirty() instead of
set_page_dirty_lock(). A call to lock_page() is unacceptable in an rpciod
callback function.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found