diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-09-16 16:53:17 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-10-25 05:34:50 +0200 |
commit | 6de1472f1a4a3bd912f515f29d3cf52a65a4c718 (patch) | |
tree | 3b93cfa6198d68832479f211c72a675bfb406fd9 /fs/nfs/nfs4proc.c | |
parent | befs: split symlink iops in two - for short and long symlinks resp. (diff) | |
download | linux-6de1472f1a4a3bd912f515f29d3cf52a65a4c718.tar.xz linux-6de1472f1a4a3bd912f515f29d3cf52a65a4c718.zip |
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/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index d53d6785cba2..75e46bbf7f41 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -3738,9 +3738,8 @@ static int _nfs4_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, }; int status; - dprintk("%s: dentry = %s/%s, cookie = %Lu\n", __func__, - dentry->d_parent->d_name.name, - dentry->d_name.name, + dprintk("%s: dentry = %pd2, cookie = %Lu\n", __func__, + dentry, (unsigned long long)cookie); nfs4_setup_readdir(cookie, NFS_I(dir)->cookieverf, dentry, &args); res.pgbase = args.pgbase; |