summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_page.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-12-05 00:35:41 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-12-06 10:46:39 -0500
commite261f51f25b98c213e0b3d7f2109b117d714f69d (patch)
tree92dfd162f8721f99de74c8227a7f0655143eed9a /include/linux/nfs_page.h
parent4d770ccf4257b23a7ca2a85de1b1c22657b581d8 (diff)
downloadop-kernel-dev-e261f51f25b98c213e0b3d7f2109b117d714f69d.zip
op-kernel-dev-e261f51f25b98c213e0b3d7f2109b117d714f69d.tar.gz
NFS: Make nfs_updatepage() mark the page as dirty.
This will ensure that we can call set_page_writeback() from within nfs_writepage(), which is always called with the page lock set. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_page.h')
-rw-r--r--include/linux/nfs_page.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_page.h b/include/linux/nfs_page.h
index d111be6..2e555d4 100644
--- a/include/linux/nfs_page.h
+++ b/include/linux/nfs_page.h
@@ -31,6 +31,7 @@
#define PG_NEED_COMMIT 1
#define PG_NEED_RESCHED 2
#define PG_NEED_FLUSH 3
+#define PG_FLUSHING 4
struct nfs_inode;
struct nfs_page {
OpenPOWER on IntegriCloud