Whamcloud - gitweb
LU-3974 client: use standard dentry locking function
[fs/lustre-release.git] / lustre / include / linux / lvfs.h
index 64445b7..68b4317 100644 (file)
@@ -99,7 +99,7 @@ static inline void l_dput(struct dentry *de)
         if (!de || IS_ERR(de))
                 return;
         //shrink_dcache_parent(de);
-       LASSERT(d_refcount(de) > 0);
+       LASSERT(d_count(de) > 0);
         dput(de);
 }