* grub-core/fs/btrfs.c (grub_btrfs_fs) [GRUB_UTIL]: Set

reserved_first_sector to 1.  btrfs reserves plenty of space for boot
loaders.
Reported by: Gene Cumm.  Fixes Ubuntu bug #757446.
This commit is contained in:
Colin Watson 2011-04-11 16:06:37 +01:00
parent 8a3bc88ea7
commit 2a9bc0169e
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2011-04-11 Colin Watson <cjwatson@ubuntu.com>
* grub-core/fs/btrfs.c (grub_btrfs_fs) [GRUB_UTIL]: Set
reserved_first_sector to 1. btrfs reserves plenty of space for boot
loaders.
Reported by: Gene Cumm. Fixes Ubuntu bug #757446.
2011-04-11 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-fstest.c (cmd_cmp): Check that sizes match.

View file

@ -122,6 +122,9 @@ static struct grub_fs grub_btrfs_fs =
.dir = grub_btrfs_dir,
.open = grub_btrfs_open,
.uuid = grub_btrfs_uuid,
#ifdef GRUB_UTIL
.reserved_first_sector = 1,
#endif
};
GRUB_MOD_INIT(btrfs)