diff options
Diffstat (limited to 'fs/nfs/unlink.c')
-rw-r--r-- | fs/nfs/unlink.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/nfs/unlink.c b/fs/nfs/unlink.c index bb939edd4c99..8285de9eaad2 100644 --- a/fs/nfs/unlink.c +++ b/fs/nfs/unlink.c | |||
@@ -495,9 +495,8 @@ nfs_sillyrename(struct inode *dir, struct dentry *dentry) | |||
495 | struct rpc_task *task; | 495 | struct rpc_task *task; |
496 | int error = -EIO; | 496 | int error = -EIO; |
497 | 497 | ||
498 | dfprintk(VFS, "NFS: silly-rename(%s/%s, ct=%d)\n", | 498 | dfprintk(VFS, "NFS: silly-rename(%pd2, ct=%d)\n", |
499 | dentry->d_parent->d_name.name, dentry->d_name.name, | 499 | dentry, d_count(dentry)); |
500 | d_count(dentry)); | ||
501 | nfs_inc_stats(dir, NFSIOS_SILLYRENAME); | 500 | nfs_inc_stats(dir, NFSIOS_SILLYRENAME); |
502 | 501 | ||
503 | /* | 502 | /* |
@@ -522,8 +521,8 @@ nfs_sillyrename(struct inode *dir, struct dentry *dentry) | |||
522 | SILLYNAME_FILEID_LEN, fileid, | 521 | SILLYNAME_FILEID_LEN, fileid, |
523 | SILLYNAME_COUNTER_LEN, sillycounter); | 522 | SILLYNAME_COUNTER_LEN, sillycounter); |
524 | 523 | ||
525 | dfprintk(VFS, "NFS: trying to rename %s to %s\n", | 524 | dfprintk(VFS, "NFS: trying to rename %pd to %s\n", |
526 | dentry->d_name.name, silly); | 525 | dentry, silly); |
527 | 526 | ||
528 | sdentry = lookup_one_len(silly, dentry->d_parent, slen); | 527 | sdentry = lookup_one_len(silly, dentry->d_parent, slen); |
529 | /* | 528 | /* |