helper for reading ->d_count

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2013-07-05 18:59:33 +04:00
parent 74b9272bbe
commit 84d08fa888
12 changed files with 22 additions and 17 deletions

View file

@ -479,7 +479,7 @@ nfs_sillyrename(struct inode *dir, struct dentry *dentry)
dfprintk(VFS, "NFS: silly-rename(%s/%s, ct=%d)\n",
dentry->d_parent->d_name.name, dentry->d_name.name,
dentry->d_count);
d_count(dentry));
nfs_inc_stats(dir, NFSIOS_SILLYRENAME);
/*