summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_file.c
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2019-04-23 17:54:06 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2019-04-23 18:36:23 +0300
commit362f5e745ae2ee2be9cf181b3a22917d619b81a1 (patch)
tree15677f6a8309569104233403e19b77cdc3f095dd /fs/xfs/xfs_file.c
parent945c941fcd82bac3a8ea2b89c635651f323bd609 (diff)
downloadlinux-362f5e745ae2ee2be9cf181b3a22917d619b81a1.tar.xz
xfs: assert that we don't enter agfl freeing with a non-permanent transaction
Block allocation requires a permanent transaction for deferred AGFL frees. Add an assert in the block allocation path to make explicit and obvious to future callers the requirement of a transaction with a permanent reservation. Reported-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> [darrick: split this out from the previous patch per hch request] Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_file.c')
0 files changed, 0 insertions, 0 deletions