[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [address@hidden: Bug#1021846: grub-install is broken since 2.06-3: e
From: |
Christian Hesse |
Subject: |
Re: [address@hidden: Bug#1021846: grub-install is broken since 2.06-3: error: unknown filesystem] |
Date: |
Fri, 9 Dec 2022 08:17:24 +0100 |
Daniel Axtens <dja@axtens.net> on Sat, 2022/12/03 01:41:
> Please try the following:
>
> diff --git a/grub-core/fs/f2fs.c b/grub-core/fs/f2fs.c
> index df6beb544cbd..855e24618c2b 100644
> --- a/grub-core/fs/f2fs.c
> +++ b/grub-core/fs/f2fs.c
> @@ -650,7 +650,7 @@ get_blkaddr_from_nat_journal (struct grub_f2fs_data
> *data, grub_uint32_t nid, grub_uint16_t n = grub_le_to_cpu16
> (data->nat_j.n_nats); grub_uint16_t i;
>
> - if (n >= NAT_JOURNAL_ENTRIES)
> + if (n > NAT_JOURNAL_ENTRIES)
> return grub_error (GRUB_ERR_BAD_FS,
> "invalid number of nat journal entries");
I have a confirmation in Arch downstream bug report that this indeed does
fix the issue.
https://bugs.archlinux.org/task/76168#comment213505
Pleas commit into master. Thanks a lot!
--
main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/* Best regards my address: */=0;b=c[a++];)
putchar(b-1/(/* Chris cc -ox -xc - && ./x */b/42*2-3)*42);}
pgpZ7utfr1ij4.pgp
Description: OpenPGP digital signature