mbox series

[PATCHSET,v2,0/1] xfs: fix fsmap cursor handling

Message ID 169335025080.3518128.2053884391855690989.stgit@frogsfrogsfrogs (mailing list archive)
Headers show
Series xfs: fix fsmap cursor handling | expand

Message

Darrick J. Wong Aug. 29, 2023, 11:04 p.m. UTC
Hi all,

This patchset addresses an integer overflow bug that Dave Chinner found
in how fsmap handles figuring out where in the record set we left off
when userspace calls back after the first call filled up all the
designated record space.

v2: add RVB tags

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

This has been lightly tested with fstests.  Enjoy!
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=fix-fsmap-6.6
---
 fs/xfs/xfs_fsmap.c |   25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)