Skip to content
Commit 5e993e25 authored by Al Viro's avatar Al Viro
Browse files

ncpfs: get rid of d_validate() nonsense



What we want is to have non-counting references to children in
pagecache of parent directory, and avoid picking them after a child
has been freed.  Fine, so let's just have ->d_prune() clear
parent's inode "has directory contents in page cache" flag.
That way we don't need ->d_fsdata for storing offsets, so we can
use it as a quick and dirty "is it referenced from page cache"
flag.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent ad52184b
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