Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192321
b: refs/heads/master
c: dfe52c0
h: refs/heads/master
i:
  192319: 591f43e
v: v3
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed May 14, 2010
1 parent b06b412 commit 1c6c5e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a6d5ff64bae02438d914f088672cab1916153954
refs/heads/master: dfe52c0419b8324bacd69bd28aae77e2d6ee0379
6 changes: 3 additions & 3 deletions trunk/fs/nfs/iostat.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,22 @@ static inline void nfs_inc_stats(const struct inode *inode,

static inline void nfs_add_server_stats(const struct nfs_server *server,
enum nfs_stat_bytecounters stat,
unsigned long addend)
long addend)
{
this_cpu_add(server->io_stats->bytes[stat], addend);
}

static inline void nfs_add_stats(const struct inode *inode,
enum nfs_stat_bytecounters stat,
unsigned long addend)
long addend)
{
nfs_add_server_stats(NFS_SERVER(inode), stat, addend);
}

#ifdef CONFIG_NFS_FSCACHE
static inline void nfs_add_fscache_stats(struct inode *inode,
enum nfs_stat_fscachecounters stat,
unsigned long addend)
long addend)
{
this_cpu_add(NFS_SERVER(inode)->io_stats->fscache[stat], addend);
}
Expand Down

0 comments on commit 1c6c5e9

Please sign in to comment.