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)
Fri, Mar 7, 4:28 PM
Unknown Object (File)
Thu, Mar 6, 6:42 AM
Unknown Object (File)
Wed, Mar 5, 5:55 PM
Unknown Object (File)
Mon, Feb 24, 6:17 PM
Unknown Object (File)
Fri, Feb 14, 8:07 PM
Unknown Object (File)
Fri, Feb 14, 5:43 AM
Unknown Object (File)
Feb 11 2025, 11:29 AM
Unknown Object (File)
Feb 9 2025, 6:35 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