NFS: Add nfs_set_page_dirty()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 5 Dec 2006 05:35:40 +0000 (00:35 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 6 Dec 2006 15:46:38 +0000 (10:46 -0500)
commit1a54533ec8d92a5edae97ec6ae10023ee71c4b46
treea09db8af7974f13baa8d906149b77bf7db58bf1f
parent200baa2112012dd8a13db9da3ee6885403f9c013
NFS: Add nfs_set_page_dirty()

We will want to allow nfs_writepage() to distinguish between pages that
have been marked as dirty by the VM, and those that have been marked as
dirty by nfs_updatepage().
In the former case, the entire page will want to be written out, and so any
requests that were pending need to be flushed out first.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/file.c
fs/nfs/write.c
include/linux/nfs_fs.h
include/linux/nfs_page.h