From: Yan, Zheng Date: Sat, 30 Nov 2013 04:47:41 +0000 (+0800) Subject: ceph: check inode caps in ceph_d_revalidate X-Git-Tag: v3.14-rc1~71^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9215aeea622fec7ca8123c6bd6f03a1753e2b0b3;p=pandora-kernel.git 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: Yan, Zheng --- Reading git-diff-tree failed