]> git.ipfire.org Git - thirdparty/grub.git/commit
fs/ext2: Ignore checksum seed incompat feature
authorJavier Martinez Canillas <javierm@redhat.com>
Fri, 11 Jun 2021 19:36:16 +0000 (21:36 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 22 Jul 2021 13:18:05 +0000 (15:18 +0200)
commit7fd5feff97c4b1f446f8fcf6d37aca0c64e7c763
tree712eeae564169cf80486b321a4ff64891b5a0673
parent3ffd708dd56aebb937b8f09203f9fde8b6fc30c3
fs/ext2: Ignore checksum seed incompat feature

This incompat feature is used to denote that the filesystem stored its
metadata checksum seed in the superblock. This is used to allow tune2fs
changing the UUID on a mounted metdata_csum filesystem without having
to rewrite all the disk metadata. However, the GRUB doesn't use the
metadata checksum at all. So, it can just ignore this feature if it
is enabled. This is consistent with the GRUB filesystem code in general
which just does a best effort to access the filesystem's data.

The checksum seed incompat feature has to be removed from the ignore
list if the support for metadata checksum verification is added to the
GRUB ext2 driver later.

Suggested-by: Eric Sandeen <esandeen@redhat.com>
Suggested-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/fs/ext2.c