summaryrefslogtreecommitdiffstats
path: root/sys/fs/smbfs/smbfs_node.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/smbfs/smbfs_node.c')
-rw-r--r--sys/fs/smbfs/smbfs_node.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/smbfs/smbfs_node.c b/sys/fs/smbfs/smbfs_node.c
index 33055a4..edd62b7 100644
--- a/sys/fs/smbfs/smbfs_node.c
+++ b/sys/fs/smbfs/smbfs_node.c
@@ -298,7 +298,7 @@ smbfs_reclaim(ap)
struct smbnode *np = VTOSMB(vp);
struct smbmount *smp = VTOSMBFS(vp);
- SMBVDEBUG("%s,%d\n", np->n_name, vp->v_usecount);
+ SMBVDEBUG("%s,%d\n", np->n_name, vrefcnt(vp));
smbfs_hash_lock(smp, td);
@@ -344,7 +344,7 @@ smbfs_inactive(ap)
struct smb_cred scred;
int error;
- SMBVDEBUG("%s: %d\n", VTOSMB(vp)->n_name, vp->v_usecount);
+ SMBVDEBUG("%s: %d\n", VTOSMB(vp)->n_name, vrefcnt(vp));
if (np->n_opencount) {
error = smbfs_vinvalbuf(vp, V_SAVE, cred, td, 1);
smb_makescred(&scred, td, cred);
OpenPOWER on IntegriCloud