aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2020-12-16 11:22:05 -0500
committerDavid Sterba <[email protected]>2021-01-18 15:44:47 +0100
commit18d3bff411c8d46d40537483bdc0b61b33ce0371 (patch)
treee756e0a4308f930e10c893c8a456dab4ce9fe09a /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parent518837e65068c385dddc0a87b3e577c8be7c13b1 (diff)
btrfs: don't get an EINTR during drop_snapshot for reloc
This was partially fixed by f3e3d9cc3525 ("btrfs: avoid possible signal interruption of btrfs_drop_snapshot() on relocation tree"), however it missed a spot when we restart a trans handle because we need to end the transaction. The fix is the same, simply use btrfs_join_transaction() instead of btrfs_start_transaction() when deleting reloc roots. Fixes: f3e3d9cc3525 ("btrfs: avoid possible signal interruption of btrfs_drop_snapshot() on relocation tree") CC: [email protected] # 5.4+ Signed-off-by: Josef Bacik <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions