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 <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Josef Bacik 2023-04-19 17:24:06 -04:00 committed by David Sterba
parent a474379935
commit 58878e7df4
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@
#include "kernel-lib/sizes.h" #include "kernel-lib/sizes.h"
#define BTRFS_STRIPE_LEN SZ_64K #define BTRFS_STRIPE_LEN SZ_64K
#define BTRFS_STRIPE_LEN_SHIFT (16)
struct btrfs_device { struct btrfs_device {
struct list_head dev_list; struct list_head dev_list;