projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
cbd4a5b
)
Merge branch 'old.dcache' into work.dcache
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 4 Apr 2018 04:40:19 +0000
(
00:40
-0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 4 Apr 2018 04:40:19 +0000
(
00:40
-0400)
include/linux/dcache.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/dcache.h
b/include/linux/dcache.h
index c84ffbfc5098bb6c80398e18d4c030a7075998eb..94acbde17bb190e3299c35e92ad96525f575812b 100644
(file)
--- a/
include/linux/dcache.h
+++ b/
include/linux/dcache.h
@@
-359,7
+359,7
@@
static inline void dont_mount(struct dentry *dentry)
extern void __d_lookup_done(struct dentry *);
-static inline int d_in_lookup(struct dentry *dentry)
+static inline int d_in_lookup(
const
struct dentry *dentry)
{
return dentry->d_flags & DCACHE_PAR_LOOKUP;
}
@@
-487,7
+487,7
@@
static inline bool d_really_is_positive(const struct dentry *dentry)
return dentry->d_inode != NULL;
}
-static inline int simple_positive(struct dentry *dentry)
+static inline int simple_positive(
const
struct dentry *dentry)
{
return d_really_is_positive(dentry) && !d_unhashed(dentry);
}