HomeFreeBSD

swap_pager: fix assert in seek_data

Description

swap_pager: fix assert in seek_data

An assertion that an object was write-locked should be instead an
assertion that the object is read locked.

Reported by: Jenkins
Fixes: db08b0b04deced tmpfs_vnops: move swap work to swap_pager
Differential Revision: https://reviews.freebsd.org/D47278

Details

Provenance
dougmAuthored on Oct 24 2024, 11:00 PM
Differential Revision
D47278: swap_pager: fix assert in seek_data
Parents
rGa3a88aa13260: Fix buildworld with gcc 13 after llvm-19 import
Branches
Unknown
Tags
Unknown