Creating sprout will change the fsid of the mounted root. do the same on the sysfs as well. reproducer: mount /dev/sdb /btrfs (seed disk) btrfs dev add /dev/sdc /btrfs mount -o rw,remount /btrfs btrfs dev del /dev/sdb /btrfs mount /dev/sdb /btrfs Error: kobject_add_internal failed for fe350492-dc28-4051-a601-e017b17e6145 with -EEXIST, don't try to register things with the same name in the same directory.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -38,6 +38,7 @@ struct btrfs_ioctl_vol_args { · 37 unmodified lines | ||
| 38 | 38 | #define BTRFS_SUBVOL_QGROUP_INHERIT (1ULL << 2) |
| 39 | 39 | #define BTRFS_FSID_SIZE 16 |
| 40 | 40 | #define BTRFS_UUID_SIZE 16 |
| 41 | +#define BTRFS_UUID_UNPARSED_SIZE 37 | |
| 41 | 42 | |
| 42 | 43 | #define BTRFS_QGROUP_INHERIT_SET_LIMITS (1ULL << 0) |
| 43 | 44 | |