Files
mirror_zfs/module/os/freebsd/zfs
Mark Johnston 7313c6e382 Fix a potential page leak in mappedread_sf()
mappedread_sf() may allocate pages; if it fails to populate a page
can't free it, it needs to ensure that it's placed into a page queue,
otherwise it can't be reclaimed until the vnode is destroyed.

I think this is quite unlikely to happen in practice, it was noticed by
code inspection.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Signed-off-by: Mark Johnston <markj@FreeBSD.org>
Closes #16643
2024-11-14 16:51:17 -08:00
..
2022-03-15 15:13:42 -07:00
2023-03-22 09:24:41 -07:00
2024-09-03 17:52:33 -07:00
2024-09-14 13:47:59 -07:00
2024-09-14 13:47:59 -07:00