aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/pagelist.c1
-rw-r--r--fs/nfs/write.c1
2 files changed, 0 insertions, 2 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,
331 nfsi->ndirty--; 331 nfsi->ndirty--;
332 nfs_list_remove_request(req); 332 nfs_list_remove_request(req);
333 nfs_list_add_request(req, dst); 333 nfs_list_add_request(req, dst);
334 dec_zone_page_state(req->wb_page, NR_FILE_DIRTY);
335 res++; 334 res++;
336 if (res == LONG_MAX) 335 if (res == LONG_MAX)
337 goto out; 336 goto out;
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