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)
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

diff --cc fs/ceph/dir.c
Simple merge
diff --cc fs/ceph/super.h
Simple merge