diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-08-19 20:25:34 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-09 02:39:03 -0400 |
commit | 35c265e008b2c4e56765f07d47750d13f95a55c1 (patch) | |
tree | 54bf5e3a0fa55b7881335daa295694e55f863009 /fs/cifs/dir.c | |
parent | c2ca0fcd202863b14bd041a7fece2e789926c225 (diff) |
cifs: switch to use of %p[dD]
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs/dir.c')
-rw-r--r-- | fs/cifs/dir.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c index 6cbd9c688cfe..073640675a39 100644 --- a/fs/cifs/dir.c +++ b/fs/cifs/dir.c | |||
@@ -461,8 +461,8 @@ cifs_atomic_open(struct inode *inode, struct dentry *direntry, | |||
461 | 461 | ||
462 | xid = get_xid(); | 462 | xid = get_xid(); |
463 | 463 | ||
464 | cifs_dbg(FYI, "parent inode = 0x%p name is: %s and dentry = 0x%p\n", | 464 | cifs_dbg(FYI, "parent inode = 0x%p name is: %pd and dentry = 0x%p\n", |
465 | inode, direntry->d_name.name, direntry); | 465 | inode, direntry, direntry); |
466 | 466 | ||
467 | tlink = cifs_sb_tlink(CIFS_SB(inode->i_sb)); | 467 | tlink = cifs_sb_tlink(CIFS_SB(inode->i_sb)); |
468 | if (IS_ERR(tlink)) { | 468 | if (IS_ERR(tlink)) { |
@@ -540,8 +540,8 @@ int cifs_create(struct inode *inode, struct dentry *direntry, umode_t mode, | |||
540 | struct cifs_fid fid; | 540 | struct cifs_fid fid; |
541 | __u32 oplock; | 541 | __u32 oplock; |
542 | 542 | ||
543 | cifs_dbg(FYI, "cifs_create parent inode = 0x%p name is: %s and dentry = 0x%p\n", | 543 | cifs_dbg(FYI, "cifs_create parent inode = 0x%p name is: %pd and dentry = 0x%p\n", |
544 | inode, direntry->d_name.name, direntry); | 544 | inode, direntry, direntry); |
545 | 545 | ||
546 | tlink = cifs_sb_tlink(CIFS_SB(inode->i_sb)); | 546 | tlink = cifs_sb_tlink(CIFS_SB(inode->i_sb)); |
547 | rc = PTR_ERR(tlink); | 547 | rc = PTR_ERR(tlink); |
@@ -713,8 +713,8 @@ cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry, | |||
713 | 713 | ||
714 | xid = get_xid(); | 714 | xid = get_xid(); |
715 | 715 | ||
716 | cifs_dbg(FYI, "parent inode = 0x%p name is: %s and dentry = 0x%p\n", | 716 | cifs_dbg(FYI, "parent inode = 0x%p name is: %pd and dentry = 0x%p\n", |
717 | parent_dir_inode, direntry->d_name.name, direntry); | 717 | parent_dir_inode, direntry, direntry); |
718 | 718 | ||
719 | /* check whether path exists */ | 719 | /* check whether path exists */ |
720 | 720 | ||
@@ -833,7 +833,7 @@ cifs_d_revalidate(struct dentry *direntry, unsigned int flags) | |||
833 | { | 833 | { |
834 | int rc = 0; | 834 | int rc = 0; |
835 | 835 | ||
836 | cifs_dbg(FYI, "In cifs d_delete, name = %s\n", direntry->d_name.name); | 836 | cifs_dbg(FYI, "In cifs d_delete, name = %pd\n", direntry); |
837 | 837 | ||
838 | return rc; | 838 | return rc; |
839 | } */ | 839 | } */ |