[GIT PULL 1/8] xfs: fix fsmap cursor handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi Chandan,

Please pull this branch with changes.

As usual, I did a test-merge with the main upstream branch as of a few
minutes ago, and didn't see any conflicts.  Please let me know if you
encounter any problems.


The following changes since commit 0bb80ecc33a8fb5a682236443c1e740d5c917d1d:

Linux 6.6-rc1 (2023-09-10 16:28:41 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/fix-fsmap-6.6_2023-09-12

for you to fetch changes up to cfa2df68b7ceb49ac9eb2d295ab0c5974dbf17e7:

xfs: fix an agbno overflow in __xfs_getfsmap_datadev (2023-09-11 08:39:02 -0700)

xfs: fix fsmap cursor handling [v2]

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

This has been lightly tested with fstests.  Enjoy!

Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx>

Darrick J. Wong (1):
xfs: fix an agbno overflow in __xfs_getfsmap_datadev

fs/xfs/xfs_fsmap.c | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)

[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]

  Powered by Linux