]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/filestore/FileJournal: fail out if FileJournal is not block device or regular... 11929/head
authorKefu Chai <kchai@redhat.com>
Tue, 20 Sep 2016 09:39:24 +0000 (17:39 +0800)
committerNathan Cutler <ncutler@suse.com>
Sat, 12 Nov 2016 10:34:27 +0000 (11:34 +0100)
commit76eed80e6649fdd53a2a3ee3d7242a8e48e1168a
tree9c1096f00e9f48fd0f42c3450e9da24cb4539886
parentf776699fd00ff5f0deea15ec4f2efb991831b055
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/FileJournal.cc