summaryrefslogtreecommitdiffstats
path: root/fs/nfs/pagelist.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-12-05 06:36:09 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-12-06 16:46:41 +0100
commit3925675cb37cc9c3fd1d3f56ce0fa729f995f863 (patch)
tree9e4ab16c91ab7d679246ade359a00803665ba391 /fs/nfs/pagelist.c
parentNFS: Ensure the inode is marked as dirty if we break out of nfs_wb_all() (diff)
downloadlinux-3925675cb37cc9c3fd1d3f56ce0fa729f995f863.tar.xz
linux-3925675cb37cc9c3fd1d3f56ce0fa729f995f863.zip
NFS: Fix up the dirty page accounting
There is now no reason to account for the dirty pages in the NFS code, since the VM code will now do it for us via __set_page_dirty_nobuffers(), and set_page_writeback(). We still need to keep the accounting of stable writes, though. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/pagelist.c')
-rw-r--r--fs/nfs/pagelist.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/pagelist.c b/fs/nfs/pagelist.c
index e046c9b6a9dd..47ae2b4dd1d4 100644
--- a/fs/nfs/pagelist.c
+++ b/fs/nfs/pagelist.c
@@ -331,7 +331,6 @@ long nfs_scan_dirty(struct address_space *mapping,
nfsi->ndirty--;
nfs_list_remove_request(req);
nfs_list_add_request(req, dst);
- dec_zone_page_state(req->wb_page, NR_FILE_DIRTY);
res++;
if (res == LONG_MAX)
goto out;