···111111 unsigned long dent_ino;112112 int uname_len;113113114114- ntfs_debug("Looking up %s in directory inode 0x%lx.",115115- dent->d_name.name, dir_ino->i_ino);114114+ ntfs_debug("Looking up %pd in directory inode 0x%lx.",115115+ dent, dir_ino->i_ino);116116 /* Convert the name of the dentry to Unicode. */117117 uname_len = ntfs_nlstoucs(vol, dent->d_name.name, dent->d_name.len,118118 &uname);
+8-10
fs/ocfs2/dcache.c
···251251252252 if (dl) {253253 mlog_bug_on_msg(dl->dl_parent_blkno != parent_blkno,254254- " \"%.*s\": old parent: %llu, new: %llu\n",255255- dentry->d_name.len, dentry->d_name.name,254254+ " \"%pd\": old parent: %llu, new: %llu\n",255255+ dentry,256256 (unsigned long long)parent_blkno,257257 (unsigned long long)dl->dl_parent_blkno);258258 return 0;···277277 (unsigned long long)OCFS2_I(inode)->ip_blkno);278278279279 mlog_bug_on_msg(dl->dl_parent_blkno != parent_blkno,280280- " \"%.*s\": old parent: %llu, new: %llu\n",281281- dentry->d_name.len, dentry->d_name.name,280280+ " \"%pd\": old parent: %llu, new: %llu\n",281281+ dentry,282282 (unsigned long long)parent_blkno,283283 (unsigned long long)dl->dl_parent_blkno);284284···406406 if (inode)407407 ino = (unsigned long long)OCFS2_I(inode)->ip_blkno;408408 mlog(ML_ERROR, "Dentry is missing cluster lock. "409409- "inode: %llu, d_flags: 0x%x, d_name: %.*s\n",410410- ino, dentry->d_flags, dentry->d_name.len,411411- dentry->d_name.name);409409+ "inode: %llu, d_flags: 0x%x, d_name: %pd\n",410410+ ino, dentry->d_flags, dentry);412411 }413412414413 goto out;415414 }416415417417- mlog_bug_on_msg(dl->dl_count == 0, "dentry: %.*s, count: %u\n",418418- dentry->d_name.len, dentry->d_name.name,419419- dl->dl_count);416416+ mlog_bug_on_msg(dl->dl_count == 0, "dentry: %pd, count: %u\n",417417+ dentry, dl->dl_count);420418421419 ocfs2_dentry_lock_put(OCFS2_SB(dentry->d_sb), dl);422420
+2-2
fs/ocfs2/dlmfs/dlmfs.c
···565565 * to acquire a lock, this basically destroys our lockres. */566566 status = user_dlm_destroy_lock(&DLMFS_I(inode)->ip_lockres);567567 if (status < 0) {568568- mlog(ML_ERROR, "unlink %.*s, error %d from destroy\n",569569- dentry->d_name.len, dentry->d_name.name, status);568568+ mlog(ML_ERROR, "unlink %pd, error %d from destroy\n",569569+ dentry, status);570570 goto bail;571571 }572572 status = simple_unlink(dir, dentry);
+1-2
fs/ocfs2/dlmglue.c
···37253725 break;37263726 spin_unlock(&dentry_attach_lock);3727372737283728- mlog(0, "d_delete(%.*s);\n", dentry->d_name.len,37293729- dentry->d_name.name);37283728+ mlog(0, "d_delete(%pd);\n", dentry);3730372937313730 /*37323731 * The following dcache calls may do an
+3-3
fs/reiserfs/xattr.c
···210210 } else if (!dentry->d_inode) {211211 /* A directory entry exists, but no file? */212212 reiserfs_error(dentry->d_sb, "xattr-20003",213213- "Corrupted directory: xattr %s listed but "214214- "not found for file %s.\n",215215- dentry->d_name.name, dbuf->xadir->d_name.name);213213+ "Corrupted directory: xattr %pd listed but "214214+ "not found for file %pd.\n",215215+ dentry, dbuf->xadir);216216 dput(dentry);217217 return -EIO;218218 }