]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/filestore/FileJournal: fail out if FileJournal is not block device or regular... 11146/head
authorKefu Chai <kchai@redhat.com>
Tue, 20 Sep 2016 09:39:24 +0000 (17:39 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 20 Sep 2016 09:42:02 +0000 (17:42 +0800)
commit7431eec6fd24cd08ca6c76a9893e3f6e8c63a916
treeed8c5c54a99d6c0abc68698ae30f13950fd40bcb
parent1f7d12d77448d902f8106df013b0b07709b21671
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>
src/os/filestore/FileJournal.cc