]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix incorrect assertion in Server::_dir_is_nonempty() 13555/head
authorYan, Zheng <zyan@redhat.com>
Wed, 18 Jan 2017 08:23:49 +0000 (16:23 +0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 21 Feb 2017 09:29:59 +0000 (10:29 +0100)
commit6f06cf80a7ff7407af40f46a0aefb4b88f926390
treed0a93f8b0ad087c37bf72a1941c01543d2d67d62
parentf65754e312f11823c5bb7e9fe24655f3fd68bcd2
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>
(cherry picked from commit fe4ab52b30079a785be053a9fd0197d6990737fe)
src/mds/Server.cc