summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_mount.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-10-25 17:14:28 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-10-26 18:32:11 -0700
commit1778dd1dfd308ad539ce483b30946067be863f7b (patch)
tree4d26700de58f40821ab91c7f7a4d924639d89742 /fs/xfs/xfs_mount.c
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff)
xfs: set xefi_discard when creating a deferred agfl free log intent itemxfs-5.10-fixes_2020-10-26
Make sure that we actually initialize xefi_discard when we're scheduling a deferred free of an AGFL block. This was (eventually) found by the UBSAN while I was banging on realtime rmap problems, but it exists in the upstream codebase. While we're at it, rearrange the structure to reduce the struct size from 64 to 56 bytes. Fixes: fcb762f5de2e ("xfs: add bmapi nodiscard flag") Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_mount.c')
0 files changed, 0 insertions, 0 deletions