ceph: check inode caps in ceph_d_revalidate
authorYan, Zheng <zheng.z.yan@intel.com>
Sat, 30 Nov 2013 04:47:41 +0000 (12:47 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Tue, 21 Jan 2014 05:29:33 +0000 (13:29 +0800)
Some inodes in readdir reply may have no caps. Getattr mds request
for these inodes can return -ESTALE. The fix is consider dentry that
links to inode with no caps as invalid. Invalid dentry causes a
lookup request to send to the mds, the MDS will send caps back.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>

No differences found