diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-07-05 19:06:16 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-07-05 19:06:16 +0400 |
commit | 193deee199c55ce06bca2b3e5e2d3c10208a942a (patch) | |
tree | e540828ee7b61b3085f0906cd9cefee83847f293 /drivers/staging/lustre/lustre/include/linux/lvfs.h | |
parent | helper for reading ->d_count (diff) | |
download | linux-dev-193deee199c55ce06bca2b3e5e2d3c10208a942a.tar.xz linux-dev-193deee199c55ce06bca2b3e5e2d3c10208a942a.zip |
lustre: kill the pointless wrapper
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/staging/lustre/lustre/include/linux/lvfs.h')
-rw-r--r-- | drivers/staging/lustre/lustre/include/linux/lvfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/include/linux/lvfs.h b/drivers/staging/lustre/lustre/include/linux/lvfs.h index b4db6cb581bd..eb59ac7d5946 100644 --- a/drivers/staging/lustre/lustre/include/linux/lvfs.h +++ b/drivers/staging/lustre/lustre/include/linux/lvfs.h @@ -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); } |