]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix incorrect assertion in Server::_dir_is_nonempty() 12973/head
authorYan, Zheng <zyan@redhat.com>
Wed, 18 Jan 2017 08:23:49 +0000 (16:23 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 19 Jan 2017 14:38:57 +0000 (22:38 +0800)
commitfe4ab52b30079a785be053a9fd0197d6990737fe
tree4cd8718da65020600456edb2c58c155f2d36b605
parent5f651d8e281826beecdd30e762ff12f4dbdc7ea7
mds: fix incorrect assertion in Server::_dir_is_nonempty()

when filelock is in XLOCKDONE state. client of xlocker can rdlock
the filelock. In that case, only client of xlocker can read the lock.

Fixes: http://tracker.ceph.com/issues/18578
Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/Server.cc