From ec0b9b5f72607335ac19d4ea00c24919943b7970 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 29 Mar 2023 12:03:54 +0200 Subject: [FUSE] cow: Cleanup, comments, fixes, minor refactoring - Use the term "cluster" for a group of dnbd3-blocks instead of also calling them blocks. - Use term "table" instead of "array" for the L1 and L2 tables. - Use term "index" instead of "offset" when addressing those tables - Fix a few logic bugs, use-after-free - Add TODOs for parts that need better comments --- src/cowtest/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/cowtest') diff --git a/src/cowtest/main.c b/src/cowtest/main.c index c2e3161..38d0f16 100644 --- a/src/cowtest/main.c +++ b/src/cowtest/main.c @@ -1,3 +1,5 @@ +#include +#include #include #include #include @@ -9,7 +11,6 @@ #include #include #include -#include #include #include #include -- cgit v1.2.3-55-g7522