From ba1f3b93e4f4a58bf397c5a12b4838ddc37c95aa Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Mon, 11 Oct 2021 16:57:19 -0400 Subject: [PATCH] fs: drop virtual do_ioctl methods for btrfs_ioctl_search_key These were never used, and they make the object very slightly heavier. Signed-off-by: Zygo Blaxell --- include/crucible/fs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/crucible/fs.h b/include/crucible/fs.h index dae5740..26f123a 100644 --- a/include/crucible/fs.h +++ b/include/crucible/fs.h @@ -186,8 +186,8 @@ namespace crucible { struct BtrfsIoctlSearchKey : public btrfs_ioctl_search_key { BtrfsIoctlSearchKey(size_t buf_size = 4096); - virtual bool do_ioctl_nothrow(int fd); - virtual void do_ioctl(int fd); + bool do_ioctl_nothrow(int fd); + void do_ioctl(int fd); // Copy objectid/type/offset so we move forward void next_min(const BtrfsIoctlSearchHeader& ref);