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)
May 12 2024, 6:49 PM
Unknown Object (File)
May 11 2024, 8:32 AM
Unknown Object (File)
May 7 2024, 12:39 AM
Unknown Object (File)
May 2 2024, 3:17 PM
Unknown Object (File)
May 2 2024, 3:17 PM
Unknown Object (File)
May 2 2024, 3:16 PM
Unknown Object (File)
May 2 2024, 3:16 PM
Unknown Object (File)
May 2 2024, 12:41 PM
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