projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c4cdf8
)
NFS improve pnfs_put_deviceid_cache debug print
author
Andy Adamson
<andros@netapp.com>
Tue, 25 Jan 2011 15:38:03 +0000
(15:38 +0000)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 25 Jan 2011 20:26:51 +0000
(15:26 -0500)
What we really want to know is the ref count.
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pnfs.c
patch
|
blob
|
history
diff --git
a/fs/nfs/pnfs.c
b/fs/nfs/pnfs.c
index
bc40897
..
1b1bc1a
100644
(file)
--- a/
fs/nfs/pnfs.c
+++ b/
fs/nfs/pnfs.c
@@
-951,7
+951,7
@@
pnfs_put_deviceid_cache(struct nfs_client *clp)
{
struct pnfs_deviceid_cache *local = clp->cl_devid_cache;
- dprintk("--> %s
cl_devid_cache %p\n", __func__, clp->cl_devid_cache
);
+ dprintk("--> %s
({%d})\n", __func__, atomic_read(&local->dc_ref)
);
if (atomic_dec_and_lock(&local->dc_ref, &clp->cl_lock)) {
int i;
/* Verify cache is empty */