ceph: skip invalid dentry during dcache readdir
authorYan, Zheng <zheng.z.yan@intel.com>
Sun, 6 Apr 2014 06:10:04 +0000 (14:10 +0800)
committerSage Weil <sage@inktank.com>
Sun, 6 Apr 2014 16:13:14 +0000 (09:13 -0700)
commita30be7cb2ccb995ad5e67fd4b548f11fe37fc8b1
tree5f0927538f5e54ea9b6be1ec95e571d569975ca0
parent8a53f23fcda355958a79774c6333a3a31c380ecf
ceph: skip invalid dentry during dcache readdir

skip dentries that were added before MDS issued FILE_SHARED to
client.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Sage Weil <sage@inktank.com>
fs/ceph/dir.c