]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ceph: use new D_COMPLETE dentry flag
authorSage Weil <sage@newdream.net>
Thu, 3 Nov 2011 16:23:36 +0000 (09:23 -0700)
committerSage Weil <sage@newdream.net>
Sun, 6 Nov 2011 04:10:10 +0000 (21:10 -0700)
commitc6ffe10015f4e6fba8a915318b319c43aed1836f
treedd39730aeb6d00713ca27a1bf34b116d31479151
parentb58dc4100b9190f2cb437f1f67ffcb9f9acc4923
ceph: use new D_COMPLETE dentry flag

We used to use a flag on the directory inode to track whether the dcache
contents for a directory were a complete cached copy.  Switch to a dentry
flag CEPH_D_COMPLETE that is safely updated by ->d_prune().

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