mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-17 20:45:21 +00:00
fix incompat flags
I forgot to add BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL to the incompat flags in btrfs-progs. This adds it so that our tools don't freak out when touching a fs with the default subvolume changed. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com>
This commit is contained in:
parent
6ac03d3a28
commit
944eea95c0
4
ctree.h
4
ctree.h
@ -350,11 +350,13 @@ struct btrfs_super_block {
|
|||||||
* ones specified below then we will fail to mount
|
* ones specified below then we will fail to mount
|
||||||
*/
|
*/
|
||||||
#define BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF (1ULL << 0)
|
#define BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF (1ULL << 0)
|
||||||
|
#define BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL (2ULL << 0)
|
||||||
|
|
||||||
#define BTRFS_FEATURE_COMPAT_SUPP 0ULL
|
#define BTRFS_FEATURE_COMPAT_SUPP 0ULL
|
||||||
#define BTRFS_FEATURE_COMPAT_RO_SUPP 0ULL
|
#define BTRFS_FEATURE_COMPAT_RO_SUPP 0ULL
|
||||||
#define BTRFS_FEATURE_INCOMPAT_SUPP \
|
#define BTRFS_FEATURE_INCOMPAT_SUPP \
|
||||||
BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF
|
(BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF | \
|
||||||
|
BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* A leaf is full of items. offset and size tell us where to find
|
* A leaf is full of items. offset and size tell us where to find
|
||||||
|
Loading…
Reference in New Issue
Block a user