mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
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>
This commit is contained in:
@@ -487,10 +487,7 @@ static int orangefs_file_mmap(struct file *file, struct vm_area_struct *vma)
|
|||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
gossip_debug(GOSSIP_FILE_DEBUG,
|
gossip_debug(GOSSIP_FILE_DEBUG,
|
||||||
"orangefs_file_mmap: called on %s\n",
|
"orangefs_file_mmap: called on %pD\n", file);
|
||||||
(file ?
|
|
||||||
(char *)file->f_path.dentry->d_name.name :
|
|
||||||
(char *)"Unknown"));
|
|
||||||
|
|
||||||
/* set the sequential readahead hint */
|
/* set the sequential readahead hint */
|
||||||
vma->vm_flags |= VM_SEQ_READ;
|
vma->vm_flags |= VM_SEQ_READ;
|
||||||
|
Reference in New Issue
Block a user