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:
parent
a474379935
commit
58878e7df4
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue