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)
commitb58dc4100b9190f2cb437f1f67ffcb9f9acc4923
tree5956065af3d9b126b8ae4a37551837c389f12702
parent3f8ddb032afa729d4bad1bf2965d3ec068de6b72
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