aboutsummaryrefslogtreecommitdiff
path: root/module/zfs/spa_stats.c
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2024-05-25 02:11:18 +0000
committerGitHub <noreply@github.com>2024-05-25 02:11:18 +0000
commit02c5aa9b092818785ed8db4e2246a828278138e3 (patch)
tree21bbd829d0c989bc65767478b78b54ef871e1110 /module/zfs/spa_stats.c
parent8865dfbcaad44a1056f35be60d3058dd3b1e9145 (diff)
downloadsrc-vendor/openzfs/master.tar.gz
src-vendor/openzfs/master.zip
Destroy ARC buffer in case of fill errorvendor/openzfs/master
In case of error dmu_buf_fill_done() returns the buffer back into DB_UNCACHED state. Since during transition from DB_UNCACHED into DB_FILL state dbuf_noread() allocates an ARC buffer, we must free it here, otherwise it will be leaked. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Jorgen Lundman <lundman@lundman.net> Signed-off-by: Alexander Motin <mav@FreeBSD.org> Sponsored by: iXsystems, Inc. Closes #15665 Closes #15802 Closes #16216
Diffstat (limited to 'module/zfs/spa_stats.c')
0 files changed, 0 insertions, 0 deletions