We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cbd4a5b + 4ded097 commit 04bbc97Copy full SHA for 04bbc97
include/linux/dcache.h
@@ -359,7 +359,7 @@ static inline void dont_mount(struct dentry *dentry)
359
360
extern void __d_lookup_done(struct dentry *);
361
362
-static inline int d_in_lookup(struct dentry *dentry)
+static inline int d_in_lookup(const struct dentry *dentry)
363
{
364
return dentry->d_flags & DCACHE_PAR_LOOKUP;
365
}
@@ -487,7 +487,7 @@ static inline bool d_really_is_positive(const struct dentry *dentry)
487
return dentry->d_inode != NULL;
488
489
490
-static inline int simple_positive(struct dentry *dentry)
+static inline int simple_positive(const struct dentry *dentry)
491
492
return d_really_is_positive(dentry) && !d_unhashed(dentry);
493
0 commit comments