diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-12-05 00:36:09 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-12-06 10:46:41 -0500 |
commit | 3925675cb37cc9c3fd1d3f56ce0fa729f995f863 (patch) | |
tree | 9e4ab16c91ab7d679246ade359a00803665ba391 /fs/nfs/write.c | |
parent | e507d9ebbb2d5db5948a6fb3c33f015d60708d19 (diff) |
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/write.c')
-rw-r--r-- | fs/nfs/write.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index a4c9df67a3ae..9624aecab9b5 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c | |||
@@ -440,7 +440,6 @@ nfs_mark_request_dirty(struct nfs_page *req) | |||
440 | nfs_list_add_request(req, &nfsi->dirty); | 440 | nfs_list_add_request(req, &nfsi->dirty); |
441 | nfsi->ndirty++; | 441 | nfsi->ndirty++; |
442 | spin_unlock(&nfsi->req_lock); | 442 | spin_unlock(&nfsi->req_lock); |
443 | inc_zone_page_state(req->wb_page, NR_FILE_DIRTY); | ||
444 | mark_inode_dirty(inode); | 443 | mark_inode_dirty(inode); |
445 | } | 444 | } |
446 | 445 | ||