aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2013-11-30 12:47:41 +0800
committerYan, Zheng <zheng.z.yan@intel.com>2014-01-21 13:29:33 +0800
commit9215aeea622fec7ca8123c6bd6f03a1753e2b0b3 (patch)
tree00c4aaae67c7891553f8331b6e0b6e54bf95d08f /include/linux/ceph
parentceph: handle -ESTALE reply (diff)
downloadlinux-dev-9215aeea622fec7ca8123c6bd6f03a1753e2b0b3.tar.xz
linux-dev-9215aeea622fec7ca8123c6bd6f03a1753e2b0b3.zip
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 <zheng.z.yan@intel.com>
Diffstat (limited to 'include/linux/ceph')
0 files changed, 0 insertions, 0 deletions