diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-12-24 21:41:47 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-01-25 23:16:26 -0500 |
commit | 5e993e2534e29b62790f9a2908b551b7fb3a63f0 (patch) | |
tree | 3278906dba789c91609feb98f636538031e61dd8 /include/linux/dcache.h | |
parent | ad52184b705c1048aa01225eccde119ef5c93000 (diff) | |
download | linux-stable-5e993e2534e29b62790f9a2908b551b7fb3a63f0.tar.gz linux-stable-5e993e2534e29b62790f9a2908b551b7fb3a63f0.tar.bz2 linux-stable-5e993e2534e29b62790f9a2908b551b7fb3a63f0.zip |
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: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/dcache.h')
0 files changed, 0 insertions, 0 deletions