grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] fs/xfs: Handle non-continuous data blocks in directory exten


From: Jon DeVree
Subject: Re: [PATCH] fs/xfs: Handle non-continuous data blocks in directory extents
Date: Fri, 16 Feb 2024 16:39:42 -0500

On Thu, Feb 15, 2024 at 20:33:13 +0300, Vladimir 'phcoder' Serbinenko wrote:
> Is the pointer guaranteed to be aligned? If not you have to use unaligned
> access.

I don't know what alignment guarantees grub_malloc() makes. As long as
they are close to what the regular C malloc() guarantees then it should
be fine.

> Any reason not to check it against correct magic and not just
> zero-out?

I found at least 4 different magic numbers in the XFS documentation and
I wasn't sure if there were any more.

-- 
Jon
Doge Wrangler
X(7): A program for managing terminal windows. See also screen(1) and tmux(1).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]