From: xie xingguo Date: Tue, 10 Jan 2017 03:47:36 +0000 (+0800) Subject: os/bluestore: kill orphan declaration of do_write_check_depth() X-Git-Tag: v12.0.0~239^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F12853%2Fhead;p=ceph.git os/bluestore: kill orphan declaration of do_write_check_depth() The gc logic is gone and this is not relevant anymore. Signed-off-by: xie xingguo --- diff --git a/src/os/bluestore/BlueStore.h b/src/os/bluestore/BlueStore.h index 1c8f836a7606..096205a1630a 100644 --- a/src/os/bluestore/BlueStore.h +++ b/src/os/bluestore/BlueStore.h @@ -775,14 +775,6 @@ public: /// split a blob (and referring extents) BlobRef split_blob(BlobRef lb, uint32_t blob_offset, uint32_t pos); - - bool do_write_check_depth( - uint64_t onode_size, - uint64_t start_offset, - uint64_t end_offset, - uint8_t *blob_depth, - uint64_t *gc_start_offset, - uint64_t *gc_end_offset); }; struct OnodeSpace;