]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix 'dirfrag end' check in Server::handle_client_readdir 17686/head
authorYan, Zheng <zyan@redhat.com>
Mon, 28 Aug 2017 03:24:13 +0000 (11:24 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 13 Sep 2017 02:11:00 +0000 (10:11 +0800)
commiteb6a0bf22e5777b3977226d831380f5e68ae3739
tree5988e3e743fbb80e1582f98a13aaf0d73869f89f
parent138acd38a67bad303fb6804c1f5be0b4e5c4c47f
mds: fix 'dirfrag end' check in Server::handle_client_readdir

The 'dirfrag end' check can be wrong when not reading from beginning
of dirfrag.

Fixes: http://tracker.ceph.com/issues/21070
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 88332c0f2f0a7a99639d1de237d5bb68edddbe70)
src/mds/Server.cc