]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When taking a snapshot on a UFS/FFS filesystem, it must be mounted.
authorKirk McKusick <mckusick@FreeBSD.org>
Tue, 27 Sep 2022 15:57:30 +0000 (08:57 -0700)
committerKirk McKusick <mckusick@FreeBSD.org>
Tue, 27 Sep 2022 15:58:10 +0000 (08:58 -0700)
commit27d673fbbb79b1b829484ec127da59b45f623ebd
treec20a7f7c385e3b9410433548975043e3a4dbafe2
parent3247bc7cd65275ac30f717b9dcd8a295e92e1e1e
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