[Bug 265362] nmount() "snapshot" without "update" causes a kernel page fault panic
Date: Tue, 27 Sep 2022 15:59:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265362
--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=27d673fbbb79b1b829484ec127da59b45f623ebd
commit 27d673fbbb79b1b829484ec127da59b45f623ebd
Author: Kirk McKusick <mckusick@FreeBSD.org>
AuthorDate: 2022-09-27 15:57:30 +0000
Commit: Kirk McKusick <mckusick@FreeBSD.org>
CommitDate: 2022-09-27 15:58:10 +0000
When taking a snapshot on a UFS/FFS filesystem, it must be mounted.
The "update" mount option must be specified when the "snapshot"
mount option is used. Return EINVAL if the "snapshot" option is
specified without the "update" option also requested.
Reported by: Robert Morris
Reviewed by: kib
PR: 265362
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
sys/ufs/ffs/ffs_vfsops.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
--
You are receiving this mail because:
You are the assignee for the bug.