]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/filestore/FileJournal: fail out if FileJournal is not block device or regular... 11407/head
authorKefu Chai <kchai@redhat.com>
Tue, 20 Sep 2016 09:39:24 +0000 (17:39 +0800)
committerLoic Dachary <ldachary@redhat.com>
Tue, 11 Oct 2016 07:54:38 +0000 (09:54 +0200)
commit5ae4f316b2cf37ce5d13b1ced4b65962c5583882
tree3b0991900f52f0c003d0ee613ed3fc00781e9006
parent2a348d23e5a047bf6a9c80140cf31ba2d6d4113f
os/filestore/FileJournal: fail out if FileJournal is not block device or regular file

otherwise JournalingFileStore will assert when deleting FileJournal
which still has the non block/regular file opened.

Fixes: http://tracker.ceph.com/issues/17307
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 7431eec6fd24cd08ca6c76a9893e3f6e8c63a916)
src/os/filestore/FileJournal.cc