Skip to content
Commit 9215aeea authored by Yan, Zheng's avatar Yan, Zheng
Browse files

ceph: check inode caps in ceph_d_revalidate



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: default avatarYan, Zheng <zheng.z.yan@intel.com>
parent ca18bede
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment