Whamcloud - gitweb
LU-506 kernel: FC15 - support dcache scalability changes.
[fs/lustre-release.git] / lustre / include / linux / lvfs.h
index 5e38880..4b067f9 100644 (file)
@@ -111,7 +111,7 @@ static inline void l_dput(struct dentry *de)
         if (!de || IS_ERR(de))
                 return;
         //shrink_dcache_parent(de);
-        LASSERT(cfs_atomic_read(&de->d_count) > 0);
+       LASSERT(d_refcount(de) > 0);
         dput(de);
 }