Skip to content

xfs: fix exchmaps reservation limit check

Yingjie Gao linux-xfs stable 1 version Applied

Status from this message: Applied to for-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1xfs: fix exchmaps reservation limit checkfs/xfs/libxfs/xfs_exchmaps.c+1 -12 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchDarrick J. Wong
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/1] xfs: fix exchmaps reservation limit check

Hi all,

This patch fixes the final reservation limit check in xfs_exchmaps_estimate_overhead().

The helper adds bmbt and rmapbt overhead to a local variable, so the UINT_MAX check should test the computed reservation rather than the initial request value.

Thanks,
Yingjie

Yingjie Gao (1):
xfs: fix exchmaps reservation limit check

 fs/xfs/libxfs/xfs_exchmaps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.20.1