Merge 5.5-rc1 into android-mainline
Linux 5.5-rc1 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I6f952ebdd40746115165a2f99bab340482f5c237
This commit is contained in:
@@ -441,6 +441,11 @@ static inline bool d_is_negative(const struct dentry *dentry)
|
||||
return d_is_miss(dentry);
|
||||
}
|
||||
|
||||
static inline bool d_flags_negative(unsigned flags)
|
||||
{
|
||||
return (flags & DCACHE_ENTRY_TYPE) == DCACHE_MISS_TYPE;
|
||||
}
|
||||
|
||||
static inline bool d_is_positive(const struct dentry *dentry)
|
||||
{
|
||||
return !d_is_negative(dentry);
|
||||
|
Reference in New Issue
Block a user