]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: don't choose dirfrag when opendir
authorYan, Zheng <zyan@redhat.com>
Wed, 14 Oct 2015 13:03:05 +0000 (21:03 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 2 Dec 2015 03:49:15 +0000 (11:49 +0800)
commit8a80652f3d818f75980731180dd22408c2018b92
tree5bec3fccb32b368243cfe00a91a6c6790d0b95b9
parent3ab1668c6ac96538bae358a05cef7d97449e7676
client: don't choose dirfrag when opendir

When the directory is fragmented, choosing dirfrag makes dir_result_t::offset
non-zero. This results missing '.' and '..' in readdir result.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/client/Client.cc