]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: clear parent D_COMPLETE flag when on dentry prune
authorSage Weil <sage@newdream.net>
Tue, 15 Mar 2011 22:53:40 +0000 (15:53 -0700)
committerSage Weil <sage@newdream.net>
Thu, 3 Nov 2011 16:23:49 +0000 (09:23 -0700)
commitece482b12635847211d0d68b19dad34563e7f8d7
tree5956065af3d9b126b8ae4a37551837c389f12702
parentaa1c365c16bef026d79efaba3136d992ca7a21fa
ceph: clear parent D_COMPLETE flag when on dentry prune

When the VFS prunes a dentry from the cache, clear the D_COMPLETE flag
on the parent dentry.  Do this for the live and snapshotted namespaces. Do
not bother for the .snap dir contents, since we do not cache that.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/dir.c
fs/ceph/super.h