diff options
Diffstat (limited to 'fs/nfs/filelayout/filelayout.c')
-rw-r--r-- | fs/nfs/filelayout/filelayout.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/fs/nfs/filelayout/filelayout.c b/fs/nfs/filelayout/filelayout.c index 7ae1c263c5cf..e1e5ea262a13 100644 --- a/fs/nfs/filelayout/filelayout.c +++ b/fs/nfs/filelayout/filelayout.c | |||
@@ -1000,13 +1000,8 @@ mds_commit: | |||
1000 | nfs_list_add_request(req, list); | 1000 | nfs_list_add_request(req, list); |
1001 | cinfo->mds->ncommit++; | 1001 | cinfo->mds->ncommit++; |
1002 | spin_unlock(cinfo->lock); | 1002 | spin_unlock(cinfo->lock); |
1003 | if (!cinfo->dreq) { | 1003 | if (!cinfo->dreq) |
1004 | inc_zone_page_state(req->wb_page, NR_UNSTABLE_NFS); | 1004 | nfs_mark_page_unstable(req->wb_page); |
1005 | inc_bdi_stat(inode_to_bdi(page_file_mapping(req->wb_page)->host), | ||
1006 | BDI_RECLAIMABLE); | ||
1007 | __mark_inode_dirty(req->wb_context->dentry->d_inode, | ||
1008 | I_DIRTY_DATASYNC); | ||
1009 | } | ||
1010 | } | 1005 | } |
1011 | 1006 | ||
1012 | static u32 calc_ds_index_from_commit(struct pnfs_layout_segment *lseg, u32 i) | 1007 | static u32 calc_ds_index_from_commit(struct pnfs_layout_segment *lseg, u32 i) |