aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/rpc_pipe.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c
index f94567b45bb3..d0d14a04dce1 100644
--- a/net/sunrpc/rpc_pipe.c
+++ b/net/sunrpc/rpc_pipe.c
@@ -519,8 +519,8 @@ static int __rpc_create_common(struct inode *dir, struct dentry *dentry,
519 d_add(dentry, inode); 519 d_add(dentry, inode);
520 return 0; 520 return 0;
521out_err: 521out_err:
522 printk(KERN_WARNING "%s: %s failed to allocate inode for dentry %s\n", 522 printk(KERN_WARNING "%s: %s failed to allocate inode for dentry %pd\n",
523 __FILE__, __func__, dentry->d_name.name); 523 __FILE__, __func__, dentry);
524 dput(dentry); 524 dput(dentry);
525 return -ENOMEM; 525 return -ENOMEM;
526} 526}
@@ -755,8 +755,8 @@ static int rpc_populate(struct dentry *parent,
755out_bad: 755out_bad:
756 __rpc_depopulate(parent, files, start, eof); 756 __rpc_depopulate(parent, files, start, eof);
757 mutex_unlock(&dir->i_mutex); 757 mutex_unlock(&dir->i_mutex);
758 printk(KERN_WARNING "%s: %s failed to populate directory %s\n", 758 printk(KERN_WARNING "%s: %s failed to populate directory %pd\n",
759 __FILE__, __func__, parent->d_name.name); 759 __FILE__, __func__, parent);
760 return err; 760 return err;
761} 761}
762 762
@@ -852,8 +852,8 @@ out:
852 return dentry; 852 return dentry;
853out_err: 853out_err:
854 dentry = ERR_PTR(err); 854 dentry = ERR_PTR(err);
855 printk(KERN_WARNING "%s: %s() failed to create pipe %s/%s (errno = %d)\n", 855 printk(KERN_WARNING "%s: %s() failed to create pipe %pd/%s (errno = %d)\n",
856 __FILE__, __func__, parent->d_name.name, name, 856 __FILE__, __func__, parent, name,
857 err); 857 err);
858 goto out; 858 goto out;
859} 859}