Re: [PATCH v4] xfs: Check for delayed allocations before setting extsize
From: Carlos Maiolino
Date: Sat Nov 02 2024 - 03:41:07 EST
On Tue, 15 Oct 2024 15:15:09 +0530, Ojaswin Mujoo wrote:
> Extsize should only be allowed to be set on files with no data in it.
> For this, we check if the files have extents but miss to check if
> delayed extents are present. This patch adds that check.
>
> While we are at it, also refactor this check into a helper since
> it's used in some other places as well like xfs_inactive() or
> xfs_ioctl_setattr_xflags()
>
> [...]
Applied to for-next, thanks!
[1/1] xfs: Check for delayed allocations before setting extsize
commit: 2a492ff66673c38a77d0815d67b9a8cce2ef57f8
Best regards,
--
Carlos Maiolino <cem@xxxxxxxxxx>