diff mbox series

[15/18] btrfs-progs: add BTRFS_STRIPE_LEN_SHIFT definition

Message ID 3e1522ac773660a2d1d287becf90b3c9d5efa013.1681939316.git.josef@toxicpanda.com (mailing list archive)
State New, archived
Headers show
Series btrfs-progs: more prep work for syncing ctree.c | expand

Commit Message

Josef Bacik April 19, 2023, 9:24 p.m. UTC
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 <josef@toxicpanda.com>
---
 kernel-shared/volumes.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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;