summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/mqueue
diff options
context:
space:
mode:
authorBoris Burkov <boris@bur.io>2024-07-02 07:31:14 -0700
committerDavid Sterba <dsterba@suse.com>2024-07-04 02:19:10 +0200
commita56c85fa2d59ab0780514741550edf87989a66e9 (patch)
treeef913042d119dbcfeb1b9ea173f3cf717c782b9e /tools/testing/selftests/mqueue
parentda0386c1c70da1a01b5fa8ec503b96116bc8734c (diff)
downloadlinux-a56c85fa2d59ab0780514741550edf87989a66e9.tar.gz
linux-a56c85fa2d59ab0780514741550edf87989a66e9.tar.bz2
linux-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: stable@vger.kernel.org # 6.8+ Tested-by: Ed Tomlinson <edtoml@gmail.com> Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Boris Burkov <boris@bur.io> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/testing/selftests/mqueue')
0 files changed, 0 insertions, 0 deletions