diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-21 20:11:25 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-19 13:01:20 -0500 |
commit | a455589f181e60439c736c6c6a068bb7e6dc23f0 (patch) | |
tree | 48d377e7db8d21fd606ba8c84a72b95f3d23c10b /fs/jfs | |
parent | 41d28bca2da4bd75a8915c1ccf2cacf7f4a2e531 (diff) |
assorted conversions to %p[dD]
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/jfs')
-rw-r--r-- | fs/jfs/namei.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/fs/jfs/namei.c b/fs/jfs/namei.c index d59c7defb1ef..38fdc533f4ec 100644 --- a/fs/jfs/namei.c +++ b/fs/jfs/namei.c | |||
@@ -84,7 +84,7 @@ static int jfs_create(struct inode *dip, struct dentry *dentry, umode_t mode, | |||
84 | struct inode *iplist[2]; | 84 | struct inode *iplist[2]; |
85 | struct tblock *tblk; | 85 | struct tblock *tblk; |
86 | 86 | ||
87 | jfs_info("jfs_create: dip:0x%p name:%s", dip, dentry->d_name.name); | 87 | jfs_info("jfs_create: dip:0x%p name:%pd", dip, dentry); |
88 | 88 | ||
89 | dquot_initialize(dip); | 89 | dquot_initialize(dip); |
90 | 90 | ||
@@ -216,7 +216,7 @@ static int jfs_mkdir(struct inode *dip, struct dentry *dentry, umode_t mode) | |||
216 | struct inode *iplist[2]; | 216 | struct inode *iplist[2]; |
217 | struct tblock *tblk; | 217 | struct tblock *tblk; |
218 | 218 | ||
219 | jfs_info("jfs_mkdir: dip:0x%p name:%s", dip, dentry->d_name.name); | 219 | jfs_info("jfs_mkdir: dip:0x%p name:%pd", dip, dentry); |
220 | 220 | ||
221 | dquot_initialize(dip); | 221 | dquot_initialize(dip); |
222 | 222 | ||
@@ -352,7 +352,7 @@ static int jfs_rmdir(struct inode *dip, struct dentry *dentry) | |||
352 | struct inode *iplist[2]; | 352 | struct inode *iplist[2]; |
353 | struct tblock *tblk; | 353 | struct tblock *tblk; |
354 | 354 | ||
355 | jfs_info("jfs_rmdir: dip:0x%p name:%s", dip, dentry->d_name.name); | 355 | jfs_info("jfs_rmdir: dip:0x%p name:%pd", dip, dentry); |
356 | 356 | ||
357 | /* Init inode for quota operations. */ | 357 | /* Init inode for quota operations. */ |
358 | dquot_initialize(dip); | 358 | dquot_initialize(dip); |
@@ -480,7 +480,7 @@ static int jfs_unlink(struct inode *dip, struct dentry *dentry) | |||
480 | s64 new_size = 0; | 480 | s64 new_size = 0; |
481 | int commit_flag; | 481 | int commit_flag; |
482 | 482 | ||
483 | jfs_info("jfs_unlink: dip:0x%p name:%s", dip, dentry->d_name.name); | 483 | jfs_info("jfs_unlink: dip:0x%p name:%pd", dip, dentry); |
484 | 484 | ||
485 | /* Init inode for quota operations. */ | 485 | /* Init inode for quota operations. */ |
486 | dquot_initialize(dip); | 486 | dquot_initialize(dip); |
@@ -797,8 +797,7 @@ static int jfs_link(struct dentry *old_dentry, | |||
797 | struct btstack btstack; | 797 | struct btstack btstack; |
798 | struct inode *iplist[2]; | 798 | struct inode *iplist[2]; |
799 | 799 | ||
800 | jfs_info("jfs_link: %s %s", old_dentry->d_name.name, | 800 | jfs_info("jfs_link: %pd %pd", old_dentry, dentry); |
801 | dentry->d_name.name); | ||
802 | 801 | ||
803 | dquot_initialize(dir); | 802 | dquot_initialize(dir); |
804 | 803 | ||
@@ -1082,8 +1081,7 @@ static int jfs_rename(struct inode *old_dir, struct dentry *old_dentry, | |||
1082 | int commit_flag; | 1081 | int commit_flag; |
1083 | 1082 | ||
1084 | 1083 | ||
1085 | jfs_info("jfs_rename: %s %s", old_dentry->d_name.name, | 1084 | jfs_info("jfs_rename: %pd %pd", old_dentry, new_dentry); |
1086 | new_dentry->d_name.name); | ||
1087 | 1085 | ||
1088 | dquot_initialize(old_dir); | 1086 | dquot_initialize(old_dir); |
1089 | dquot_initialize(new_dir); | 1087 | dquot_initialize(new_dir); |
@@ -1355,7 +1353,7 @@ static int jfs_mknod(struct inode *dir, struct dentry *dentry, | |||
1355 | if (!new_valid_dev(rdev)) | 1353 | if (!new_valid_dev(rdev)) |
1356 | return -EINVAL; | 1354 | return -EINVAL; |
1357 | 1355 | ||
1358 | jfs_info("jfs_mknod: %s", dentry->d_name.name); | 1356 | jfs_info("jfs_mknod: %pd", dentry); |
1359 | 1357 | ||
1360 | dquot_initialize(dir); | 1358 | dquot_initialize(dir); |
1361 | 1359 | ||
@@ -1444,7 +1442,7 @@ static struct dentry *jfs_lookup(struct inode *dip, struct dentry *dentry, unsig | |||
1444 | struct component_name key; | 1442 | struct component_name key; |
1445 | int rc; | 1443 | int rc; |
1446 | 1444 | ||
1447 | jfs_info("jfs_lookup: name = %s", dentry->d_name.name); | 1445 | jfs_info("jfs_lookup: name = %pd", dentry); |
1448 | 1446 | ||
1449 | if ((rc = get_UCSname(&key, dentry))) | 1447 | if ((rc = get_UCSname(&key, dentry))) |
1450 | return ERR_PTR(rc); | 1448 | return ERR_PTR(rc); |