git.samba.org
/
sfrench
/
cifs-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0d8d55
)
hostfs_open(): don't open-code file_dentry()
author
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 16 Apr 2021 02:03:00 +0000
(22:03 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 16 Apr 2021 02:03:00 +0000
(22:03 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hostfs/hostfs_kern.c
patch
|
blob
|
history
diff --git
a/fs/hostfs/hostfs_kern.c
b/fs/hostfs/hostfs_kern.c
index 29e407762626497e3e5b64349e554e1b0ec2df46..fd04e023d91d8c95799f590d1378a9742217100c 100644
(file)
--- a/
fs/hostfs/hostfs_kern.c
+++ b/
fs/hostfs/hostfs_kern.c
@@
-317,7
+317,7
@@
retry:
if (mode & FMODE_WRITE)
r = w = 1;
- name = dentry_name(
d_real(file->f_path.dentry, file->f_inod
e));
+ name = dentry_name(
file_dentry(fil
e));
if (name == NULL)
return -ENOMEM;