mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
hostfs_open(): don't open-code file_dentry()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
a0d8d55278
commit
d692d397e8
1 changed files with 1 additions and 1 deletions
|
|
@ -317,7 +317,7 @@ retry:
|
|||
if (mode & FMODE_WRITE)
|
||||
r = w = 1;
|
||||
|
||||
name = dentry_name(d_real(file->f_path.dentry, file->f_inode));
|
||||
name = dentry_name(file_dentry(file));
|
||||
if (name == NULL)
|
||||
return -ENOMEM;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue