From 58878e7df46d76fd21d8cb0580927b912e3e92e8 Mon Sep 17 00:00:00 2001 From: Josef Bacik Date: Wed, 19 Apr 2023 17:24:06 -0400 Subject: [PATCH] btrfs-progs: add BTRFS_STRIPE_LEN_SHIFT definition This is used by tree-checker.c, so sync this into volumes.h to make it easier to sync tree-checker.c. Signed-off-by: Josef Bacik Signed-off-by: David Sterba --- kernel-shared/volumes.h | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel-shared/volumes.h b/kernel-shared/volumes.h index 6e9103a9..206eab77 100644 --- a/kernel-shared/volumes.h +++ b/kernel-shared/volumes.h @@ -24,6 +24,7 @@ #include "kernel-lib/sizes.h" #define BTRFS_STRIPE_LEN SZ_64K +#define BTRFS_STRIPE_LEN_SHIFT (16) struct btrfs_device { struct list_head dev_list;