aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
diff options
context:
space:
mode:
authorBoris Burkov <[email protected]>2024-07-02 14:31:14 +0000
committerDavid Sterba <[email protected]>2024-07-04 00:19:10 +0000
commita56c85fa2d59ab0780514741550edf87989a66e9 (patch)
treeef913042d119dbcfeb1b9ea173f3cf717c782b9e /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
parentbtrfs: fix folio refcount in btrfs_do_encoded_write() (diff)
downloadkernel-a56c85fa2d59ab0780514741550edf87989a66e9.tar.gz
kernel-a56c85fa2d59ab0780514741550edf87989a66e9.zip
btrfs: fix folio refcount in __alloc_dummy_extent_buffer()
Another improper use of __folio_put() in an error path after freshly allocating pages/folios which returns them with the refcount initialized to 1. The refactor from __free_pages() -> __folio_put() (instead of folio_put) removed a refcount decrement found in __free_pages() and folio_put but absent from __folio_put(). Fixes: 13df3775efca ("btrfs: cleanup metadata page pointer usage") CC: [email protected] # 6.8+ Tested-by: Ed Tomlinson <[email protected]> Reviewed-by: Filipe Manana <[email protected]> Signed-off-by: Boris Burkov <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions