HomeFreeBSD

Fix page fault in zfsctl_snapdir_getattr

Description

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
Reviewed by: avg
MFC after: 2 weeks
Sponsored by: Axcient
Differential Revision: https://reviews.freebsd.org/D25543

Details

Provenance
asomersAuthored on
Reviewer
avg
Differential Revision
D25543: Fix page fault in zfsctl_snapdir_getattr
Parents
rS362890: cred: add a prediction to crfree for td->td_realucred == cr
Branches
Unknown
Tags
Unknown