From: Al Viro Date: Thu, 25 Dec 2014 02:41:47 +0000 (-0500) Subject: ncpfs: get rid of d_validate() nonsense X-Git-Tag: fixes-v4.0-rc1~77^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e993e2534e29b62790f9a2908b551b7fb3a63f0;p=pandora-kernel.git 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 --- Reading git-diff-tree failed