Re: [PATCH 1/3] include/linux.h: use linux/magic.h to get XFS_SUPER_MAGIC

From: Ojaswin Mujoo
Date: Tue Dec 17 2024 - 00:40:22 EST


On Mon, Dec 16, 2024 at 12:28:00AM -0800, Christoph Hellwig wrote:
> On Sun, Dec 15, 2024 at 02:47:15PM +0530, Ojaswin Mujoo wrote:
> > - return (statfsbuf.f_type == 0x58465342); /* XFSB */
> > + return (statfsbuf.f_type == XFS_SUPER_MAGIC);
>
> Might be worth dropping the superfluous braces here while you're at it.

Thanks for the review Christoph, I will fix the braces here.

regards,
ojaswin
>
> Otherwise looks good:
>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
>