diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/dcache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h index ed1a7cf6923a..4cc3d891ea03 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h | |||
| @@ -358,7 +358,7 @@ static inline void dont_mount(struct dentry *dentry) | |||
| 358 | 358 | ||
| 359 | extern void __d_lookup_done(struct dentry *); | 359 | extern void __d_lookup_done(struct dentry *); |
| 360 | 360 | ||
| 361 | static inline int d_in_lookup(struct dentry *dentry) | 361 | static inline int d_in_lookup(const struct dentry *dentry) |
| 362 | { | 362 | { |
| 363 | return dentry->d_flags & DCACHE_PAR_LOOKUP; | 363 | return dentry->d_flags & DCACHE_PAR_LOOKUP; |
| 364 | } | 364 | } |
| @@ -486,7 +486,7 @@ static inline bool d_really_is_positive(const struct dentry *dentry) | |||
| 486 | return dentry->d_inode != NULL; | 486 | return dentry->d_inode != NULL; |
| 487 | } | 487 | } |
| 488 | 488 | ||
| 489 | static inline int simple_positive(struct dentry *dentry) | 489 | static inline int simple_positive(const struct dentry *dentry) |
| 490 | { | 490 | { |
| 491 | return d_really_is_positive(dentry) && !d_unhashed(dentry); | 491 | return d_really_is_positive(dentry) && !d_unhashed(dentry); |
| 492 | } | 492 | } |
