Re: [PATCH 03/29] xfs: create a helper to compute the blockcount of a max sized remote value

Andrey Albershteyn
2024-04-02T10:10:03Z

On 2024-03-29 17:36:50, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
>
> Create a helper function to compute the number of fsblocks needed to
> store a maximally-sized extended attribute value.
>
> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
> ---
> fs/xfs/libxfs/xfs_attr.c | 4 ++--
> fs/xfs/libxfs/xfs_attr_remote.h | 6 ++++++
> fs/xfs/scrub/reap.c | 4 ++--
> 3 files changed, 10 insertions(+), 4 deletions(-)
>
>

Looks good to me:
Reviewed-by: Andrey Albershteyn <aalbersh@redhat.com>

--
- Andrey