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>
This commit is contained in:

committed by
Trond Myklebust

parent
fe0bf1185d
commit
5a254d08b0
@@ -269,7 +269,7 @@ int nfs_readpage(struct file *file, struct page *page)
|
||||
dprintk("NFS: nfs_readpage (%p %ld@%lu)\n",
|
||||
page, PAGE_CACHE_SIZE, page_file_index(page));
|
||||
nfs_inc_stats(inode, NFSIOS_VFSREADPAGE);
|
||||
nfs_add_stats(inode, NFSIOS_READPAGES, 1);
|
||||
nfs_inc_stats(inode, NFSIOS_READPAGES);
|
||||
|
||||
/*
|
||||
* Try to flush any pending writes to the file..
|
||||
|
Reference in New Issue
Block a user