summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfsfh.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-09-16 16:57:01 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-10-25 05:34:51 +0200
commita6a9f18f0a9f943ada095753bdc4346aee67b1aa (patch)
tree267b42f505d580dd29c15dd7bf553ba27548bfe1 /fs/nfsd/nfsfh.h
parentnfs: use %p[dD] instead of open-coded (and often racy) equivalents (diff)
downloadlinux-a6a9f18f0a9f943ada095753bdc4346aee67b1aa.tar.xz
linux-a6a9f18f0a9f943ada095753bdc4346aee67b1aa.zip
nfsd: switch to %p[dD]
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfsd/nfsfh.h')
-rw-r--r--fs/nfsd/nfsfh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfsfh.h b/fs/nfsd/nfsfh.h
index e5e6707ba687..4775bc4896c8 100644
--- a/fs/nfsd/nfsfh.h
+++ b/fs/nfsd/nfsfh.h
@@ -173,8 +173,8 @@ fh_lock_nested(struct svc_fh *fhp, unsigned int subclass)
BUG_ON(!dentry);
if (fhp->fh_locked) {
- printk(KERN_WARNING "fh_lock: %s/%s already locked!\n",
- dentry->d_parent->d_name.name, dentry->d_name.name);
+ printk(KERN_WARNING "fh_lock: %pd2 already locked!\n",
+ dentry);
return;
}