Skip to content
Commit d4a8f367 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Fix nfs_direct_dirty_pages()



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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 749e146e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment