projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs: dcache reduce branches in lookup path
[firefly-linux-kernel-4.4.55.git]
/
fs
/
hostfs
/
hostfs_kern.c
diff --git
a/fs/hostfs/hostfs_kern.c
b/fs/hostfs/hostfs_kern.c
index 861113fcfc88ca3b366254a5adf1c7b1859a57fb..0bc81cf256b8320c325bf64eafd32e1aede575d6 100644
(file)
--- a/
fs/hostfs/hostfs_kern.c
+++ b/
fs/hostfs/hostfs_kern.c
@@
-612,7
+612,7
@@
struct dentry *hostfs_lookup(struct inode *ino, struct dentry *dentry,
goto out_put;
d_add(dentry, inode);
- d
entry->d_op = &hostfs_dentry_ops
;
+ d
_set_d_op(dentry, &hostfs_dentry_ops)
;
return NULL;
out_put: