diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-01-06 21:59:52 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-01-06 21:59:52 -0500 |
commit | d67568410ae1c95004fad85ff1fe78204752f46c (patch) | |
tree | 5754225b616ef0597ba0297d3a939a17394c6ffa /fs/orangefs | |
parent | b9e4666fc1c8f0e259c961cafca81046addb7dfe (diff) | |
download | linux-d67568410ae1c95004fad85ff1fe78204752f46c.tar.bz2 |
orangefs_file_mmap(): use %pD
... and no, file can't be NULL there - it's not called that way *and*
it would've oopsed a few lines prior on such call anyway.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/orangefs')
-rw-r--r-- | fs/orangefs/file.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/orangefs/file.c b/fs/orangefs/file.c index ec8ae4257975..9b28a7132466 100644 --- a/fs/orangefs/file.c +++ b/fs/orangefs/file.c @@ -487,10 +487,7 @@ static int orangefs_file_mmap(struct file *file, struct vm_area_struct *vma) return ret; gossip_debug(GOSSIP_FILE_DEBUG, - "orangefs_file_mmap: called on %s\n", - (file ? - (char *)file->f_path.dentry->d_name.name : - (char *)"Unknown")); + "orangefs_file_mmap: called on %pD\n", file); /* set the sequential readahead hint */ vma->vm_flags |= VM_SEQ_READ; |