mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-07 15:15:29 +00:00
Merge branch 'old.dcache' into work.dcache
This commit is contained in:
commit
04bbc9795d
1 changed files with 2 additions and 2 deletions
|
@ -359,7 +359,7 @@ static inline void dont_mount(struct dentry *dentry)
|
||||||
|
|
||||||
extern void __d_lookup_done(struct 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;
|
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;
|
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);
|
return d_really_is_positive(dentry) && !d_unhashed(dentry);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue