summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-09-21 09:15:08 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-09-23 08:58:51 -0700
commit8df0fa39bdd86ca81a8d706a6ed9d33cc65ca625 (patch)
treef899ac51aa78b12d32e96fa4b677f32c846e505b /scripts
parentc54e14d155f5fdbac73a8cd4bd2678cb252149dc (diff)
downloadlwn-8df0fa39bdd86ca81a8d706a6ed9d33cc65ca625.tar.gz
lwn-8df0fa39bdd86ca81a8d706a6ed9d33cc65ca625.zip
xfs: don't free rt blocks when we're doing a REMAP bunmapi call
When callers pass XFS_BMAPI_REMAP into xfs_bunmapi, they want the extent to be unmapped from the given file fork without the extent being freed. We do this for non-rt files, but we forgot to do this for realtime files. So far this isn't a big deal since nobody makes a bunmapi call to a rt file with the REMAP flag set, but don't leave a logic bomb. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions