From 4b87045447e2b9f691532d366bdcbaa71f2993ac Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Wed, 16 Aug 2023 12:25:48 -0700 Subject: [PATCH] Pre-declare scoutfs_lock in forest.h Definitions in forest.h use lock pointers. Pre-declare the struct so it doesn't break inclusion without lock.h, following current practice in the header. Signed-off-by: Zach Brown --- kmod/src/forest.h | 1 + 1 file changed, 1 insertion(+) diff --git a/kmod/src/forest.h b/kmod/src/forest.h index 30564a11..24753e89 100644 --- a/kmod/src/forest.h +++ b/kmod/src/forest.h @@ -4,6 +4,7 @@ struct scoutfs_alloc; struct scoutfs_block_writer; struct scoutfs_block; +struct scoutfs_lock; #include "btree.h"