diff options
-rw-r--r-- | fs/nfs/write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 9624aecab9b5..7f3844d2bf36 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c | |||
@@ -440,7 +440,7 @@ 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 | mark_inode_dirty(inode); | 443 | __mark_inode_dirty(inode, I_DIRTY_PAGES); |
444 | } | 444 | } |
445 | 445 | ||
446 | static void | 446 | static void |
@@ -474,7 +474,7 @@ nfs_mark_request_commit(struct nfs_page *req) | |||
474 | nfsi->ncommit++; | 474 | nfsi->ncommit++; |
475 | spin_unlock(&nfsi->req_lock); | 475 | spin_unlock(&nfsi->req_lock); |
476 | inc_zone_page_state(req->wb_page, NR_UNSTABLE_NFS); | 476 | inc_zone_page_state(req->wb_page, NR_UNSTABLE_NFS); |
477 | mark_inode_dirty(inode); | 477 | __mark_inode_dirty(inode, I_DIRTY_DATASYNC); |
478 | } | 478 | } |
479 | #endif | 479 | #endif |
480 | 480 | ||