diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-09-16 10:53:17 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-10-24 23:34:50 -0400 |
commit | 6de1472f1a4a3bd912f515f29d3cf52a65a4c718 (patch) | |
tree | 3b93cfa6198d68832479f211c72a675bfb406fd9 /fs/nfs/namespace.c | |
parent | 48bc06e74be178968b53d339dbcb110cd2bb16ea (diff) |
nfs: use %p[dD] instead of open-coded (and often racy) equivalents
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfs/namespace.c')
-rw-r--r-- | fs/nfs/namespace.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/nfs/namespace.c b/fs/nfs/namespace.c index 348b535cd786..b5a0afc3ee10 100644 --- a/fs/nfs/namespace.c +++ b/fs/nfs/namespace.c | |||
@@ -253,9 +253,8 @@ struct vfsmount *nfs_do_submount(struct dentry *dentry, struct nfs_fh *fh, | |||
253 | 253 | ||
254 | dprintk("--> nfs_do_submount()\n"); | 254 | dprintk("--> nfs_do_submount()\n"); |
255 | 255 | ||
256 | dprintk("%s: submounting on %s/%s\n", __func__, | 256 | dprintk("%s: submounting on %pd2\n", __func__, |
257 | dentry->d_parent->d_name.name, | 257 | dentry); |
258 | dentry->d_name.name); | ||
259 | if (page == NULL) | 258 | if (page == NULL) |
260 | goto out; | 259 | goto out; |
261 | devname = nfs_devname(dentry, page, PAGE_SIZE); | 260 | devname = nfs_devname(dentry, page, PAGE_SIZE); |