]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r362891:
authorAlan Somers <asomers@FreeBSD.org>
Fri, 24 Jul 2020 17:45:06 +0000 (17:45 +0000)
committerAlan Somers <asomers@FreeBSD.org>
Fri, 24 Jul 2020 17:45:06 +0000 (17:45 +0000)
commita146c36a278b3f2b66a0dbeeaf1f3c6568f94b3f
tree428350fb7c3c99622046c419f6fe14f7384947f4
parent91e8246a81cb6053dc719eb6d05d1cc63e52faab
MFC r362891:

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
Sponsored by: Axcient
Differential Revision: https://reviews.freebsd.org/D25543
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c