diff options
author | Brian Foster <[email protected]> | 2019-04-23 07:54:06 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2019-04-23 08:36:23 -0700 |
commit | 362f5e745ae2ee2be9cf181b3a22917d619b81a1 (patch) | |
tree | 15677f6a8309569104233403e19b77cdc3f095dd /scripts/gdb/linux/config.py | |
parent | 945c941fcd82bac3a8ea2b89c635651f323bd609 (diff) |
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 <[email protected]>
Signed-off-by: Brian Foster <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
[darrick: split this out from the previous patch per hch request]
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions