Skip to content

Commit 04bbc97

Browse files
author
Al Viro
committed
Merge branch 'old.dcache' into work.dcache
2 parents cbd4a5b + 4ded097 commit 04bbc97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/dcache.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ static inline void dont_mount(struct dentry *dentry)
359359

360360
extern void __d_lookup_done(struct dentry *);
361361

362-
static inline int d_in_lookup(struct dentry *dentry)
362+
static inline int d_in_lookup(const struct dentry *dentry)
363363
{
364364
return dentry->d_flags & DCACHE_PAR_LOOKUP;
365365
}
@@ -487,7 +487,7 @@ static inline bool d_really_is_positive(const struct dentry *dentry)
487487
return dentry->d_inode != NULL;
488488
}
489489

490-
static inline int simple_positive(struct dentry *dentry)
490+
static inline int simple_positive(const struct dentry *dentry)
491491
{
492492
return d_really_is_positive(dentry) && !d_unhashed(dentry);
493493
}

0 commit comments

Comments
 (0)