Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit cd9f84f3 authored by Al Viro's avatar Al Viro
Browse files

shrink_dentry_list(): no need to check that dentry refcount is marked dead


... we won't see DCACHE_MAY_FREE on anything that is *not* dead
and checking d_flags is just as cheap as checking refcount.

Reviewed-by: default avatarChristian Brauner <brauner@kernel.org>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 3fcf5356
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment