Skip to content

Commit

Permalink
Merge branch 'old.dcache' into work.dcache
Browse files Browse the repository at this point in the history
  • Loading branch information
Al Viro committed Apr 4, 2018
2 parents cbd4a5b + 4ded097 commit 04bbc97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/dcache.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 04bbc97

Please sign in to comment.