Page MenuHomeFreeBSD

Fix page fault in zfsctl_snapdir_getattr
ClosedPublic

Authored by asomers on Jul 1 2020, 10:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 30, 1:55 PM
Unknown Object (File)
Dec 10 2024, 6:19 PM
Unknown Object (File)
Dec 4 2024, 2:31 PM
Unknown Object (File)
Oct 27 2024, 6:13 AM
Unknown Object (File)
Oct 27 2024, 6:12 AM
Unknown Object (File)
Oct 27 2024, 6:12 AM
Unknown Object (File)
Oct 27 2024, 5:58 AM
Unknown Object (File)
Oct 4 2024, 9:38 AM
Subscribers

Details

Summary

Fix page fault in zfsctl_snapdir_getattr

Must acquire the z_teardown_lock before accessing the zfsvfs_t object. I
can't reproduce this panic on demand, but this looks like the correct
solution.

PR: 247668

Test Plan

The ZFS test suite

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable