summaryrefslogtreecommitdiffstats
path: root/module/zfs/dmu_objset.c
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2020-12-12 16:00:00 -0800
committerGitHub <[email protected]>2020-12-12 16:00:00 -0800
commit923d730329290c7dc8ae5b4d27c6ed01d24d9f4c (patch)
tree2e285cd70b66efb49072dfb7f3167e75617b3717 /module/zfs/dmu_objset.c
parentc76a40bfdaedd1eb2c037dfdf822ea5c4db97397 (diff)
dmu_zfetch: fix memory leak
The last change caused the read completion callback to not be called if the IO was still in progress. This change restores allocation of the arc buf callback, but in the callback path checks the new acb_nobuf field to know to skip buffer allocation. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matt Macy <[email protected]> Closes #11324
Diffstat (limited to 'module/zfs/dmu_objset.c')
0 files changed, 0 insertions, 0 deletions