diff options
author | Li RongQing <roy.qing.li@gmail.com> | 2014-11-22 23:47:17 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-11-24 20:08:47 -0500 |
commit | 5a254d08b086d80cbead2ebcee6d2a4b3a15587a (patch) | |
tree | d64afa77a5bad81e9472e6f3a623ab98541f9e91 /fs/nfs/write.c | |
parent | fe0bf1185ddf7e9d193cfe397ed1414d91526e19 (diff) |
nfs: replace nfs_add_stats with nfs_inc_stats when add one
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/write.c')
-rw-r--r-- | fs/nfs/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index d489ff3f438f..af3af685a9e3 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c | |||
@@ -575,7 +575,7 @@ static int nfs_do_writepage(struct page *page, struct writeback_control *wbc, st | |||
575 | int ret; | 575 | int ret; |
576 | 576 | ||
577 | nfs_inc_stats(inode, NFSIOS_VFSWRITEPAGE); | 577 | nfs_inc_stats(inode, NFSIOS_VFSWRITEPAGE); |
578 | nfs_add_stats(inode, NFSIOS_WRITEPAGES, 1); | 578 | nfs_inc_stats(inode, NFSIOS_WRITEPAGES); |
579 | 579 | ||
580 | nfs_pageio_cond_complete(pgio, page_file_index(page)); | 580 | nfs_pageio_cond_complete(pgio, page_file_index(page)); |
581 | ret = nfs_page_async_flush(pgio, page, wbc->sync_mode == WB_SYNC_NONE); | 581 | ret = nfs_page_async_flush(pgio, page, wbc->sync_mode == WB_SYNC_NONE); |