aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/xattr.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-09-16 10:58:53 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-10-24 23:34:51 -0400
commit4cb2a01d8c4bd18a0bb292f32e9876b0c4461e12 (patch)
tree2648554cc6958532ac83c97d1b43f45c43cc9c9b /fs/ubifs/xattr.c
parent1e903edadf3981ac22bba5587fa18d91908f066f (diff)
ubifs: switch to %pd
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ubifs/xattr.c')
-rw-r--r--fs/ubifs/xattr.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/fs/ubifs/xattr.c b/fs/ubifs/xattr.c
index 0f7139bdb2c2..5e0a63b1b0d5 100644
--- a/fs/ubifs/xattr.c
+++ b/fs/ubifs/xattr.c
@@ -303,8 +303,8 @@ int ubifs_setxattr(struct dentry *dentry, const char *name,
303 union ubifs_key key; 303 union ubifs_key key;
304 int err, type; 304 int err, type;
305 305
306 dbg_gen("xattr '%s', host ino %lu ('%.*s'), size %zd", name, 306 dbg_gen("xattr '%s', host ino %lu ('%pd'), size %zd", name,
307 host->i_ino, dentry->d_name.len, dentry->d_name.name, size); 307 host->i_ino, dentry, size);
308 ubifs_assert(mutex_is_locked(&host->i_mutex)); 308 ubifs_assert(mutex_is_locked(&host->i_mutex));
309 309
310 if (size > UBIFS_MAX_INO_DATA) 310 if (size > UBIFS_MAX_INO_DATA)
@@ -367,8 +367,8 @@ ssize_t ubifs_getxattr(struct dentry *dentry, const char *name, void *buf,
367 union ubifs_key key; 367 union ubifs_key key;
368 int err; 368 int err;
369 369
370 dbg_gen("xattr '%s', ino %lu ('%.*s'), buf size %zd", name, 370 dbg_gen("xattr '%s', ino %lu ('%pd'), buf size %zd", name,
371 host->i_ino, dentry->d_name.len, dentry->d_name.name, size); 371 host->i_ino, dentry, size);
372 372
373 err = check_namespace(&nm); 373 err = check_namespace(&nm);
374 if (err < 0) 374 if (err < 0)
@@ -426,8 +426,8 @@ ssize_t ubifs_listxattr(struct dentry *dentry, char *buffer, size_t size)
426 int err, len, written = 0; 426 int err, len, written = 0;
427 struct qstr nm = { .name = NULL }; 427 struct qstr nm = { .name = NULL };
428 428
429 dbg_gen("ino %lu ('%.*s'), buffer size %zd", host->i_ino, 429 dbg_gen("ino %lu ('%pd'), buffer size %zd", host->i_ino,
430 dentry->d_name.len, dentry->d_name.name, size); 430 dentry, size);
431 431
432 len = host_ui->xattr_names + host_ui->xattr_cnt; 432 len = host_ui->xattr_names + host_ui->xattr_cnt;
433 if (!buffer) 433 if (!buffer)
@@ -529,8 +529,8 @@ int ubifs_removexattr(struct dentry *dentry, const char *name)
529 union ubifs_key key; 529 union ubifs_key key;
530 int err; 530 int err;
531 531
532 dbg_gen("xattr '%s', ino %lu ('%.*s')", name, 532 dbg_gen("xattr '%s', ino %lu ('%pd')", name,
533 host->i_ino, dentry->d_name.len, dentry->d_name.name); 533 host->i_ino, dentry);
534 ubifs_assert(mutex_is_locked(&host->i_mutex)); 534 ubifs_assert(mutex_is_locked(&host->i_mutex));
535 535
536 err = check_namespace(&nm); 536 err = check_namespace(&nm);