projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xfs: per-filesystem stats counter implementation
[deliverable/linux.git]
/
fs
/
xfs
/
libxfs
/
xfs_dir2.c
diff --git
a/fs/xfs/libxfs/xfs_dir2.c
b/fs/xfs/libxfs/xfs_dir2.c
index 9de401d297e5bf1972922849d221c4495edd86be..2fb53a5c0a745259d2e18164e8505cb21d704724 100644
(file)
--- a/
fs/xfs/libxfs/xfs_dir2.c
+++ b/
fs/xfs/libxfs/xfs_dir2.c
@@
-271,7
+271,7
@@
xfs_dir_createname(
rval = xfs_dir_ino_validate(tp->t_mountp, inum);
if (rval)
return rval;
rval = xfs_dir_ino_validate(tp->t_mountp, inum);
if (rval)
return rval;
- XFS_STATS_INC(xs_dir_create);
+ XFS_STATS_INC(
dp->i_mount,
xs_dir_create);
}
args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS);
}
args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS);
@@
-365,7
+365,7
@@
xfs_dir_lookup(
int lock_mode;
ASSERT(S_ISDIR(dp->i_d.di_mode));
int lock_mode;
ASSERT(S_ISDIR(dp->i_d.di_mode));
- XFS_STATS_INC(xs_dir_lookup);
+ XFS_STATS_INC(
dp->i_mount,
xs_dir_lookup);
/*
* We need to use KM_NOFS here so that lockdep will not throw false
/*
* We need to use KM_NOFS here so that lockdep will not throw false
@@
-444,7
+444,7
@@
xfs_dir_removename(
int v; /* type-checking value */
ASSERT(S_ISDIR(dp->i_d.di_mode));
int v; /* type-checking value */
ASSERT(S_ISDIR(dp->i_d.di_mode));
- XFS_STATS_INC(xs_dir_remove);
+ XFS_STATS_INC(
dp->i_mount,
xs_dir_remove);
args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS);
if (!args)
args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS);
if (!args)
This page took
0.025647 seconds
and
5
git commands to generate.