summaryrefslogtreecommitdiffstats
path: root/fs/nfs/unlink.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-07-05 16:59:33 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-07-05 16:59:33 +0200
commit84d08fa888e7c2d53b5bbc764db2ef02968b499c (patch)
treefa891009d778586eefdf3be8a11671ab9aefb13a /fs/nfs/unlink.c
parentMerge tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux (diff)
downloadlinux-84d08fa888e7c2d53b5bbc764db2ef02968b499c.tar.xz
linux-84d08fa888e7c2d53b5bbc764db2ef02968b499c.zip
helper for reading ->d_count
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfs/unlink.c')
-rw-r--r--fs/nfs/unlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/unlink.c b/fs/nfs/unlink.c
index 1f1f38f0c5d5..60395ad3a2e4 100644
--- a/fs/nfs/unlink.c
+++ b/fs/nfs/unlink.c
@@ -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);
/*