]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libbe(3): mount: the BE dataset is mounted at /
authorkevans <kevans@FreeBSD.org>
Tue, 25 Jun 2019 18:13:39 +0000 (18:13 +0000)
committerkevans <kevans@FreeBSD.org>
Tue, 25 Jun 2019 18:13:39 +0000 (18:13 +0000)
commita9f31a1df5105b39892e98543a6b1e74187f07ba
tree1d3f53d5591f64595390e06bff27ac8ed5dd51ef
parentbde6cfd2293d64151a0c7db531bc4ecfcd763397
libbe(3): mount: the BE dataset is mounted at /

Other parts of libbe(3) were fairly strict on the mountpoint property of the
BE dataset, and be_mount was not much better. It was improved in r347027 to
allow mountpoint=none for depth==0, but this bit was still sensitive to
mountpoint != / and mountpoint != none. Given that other parts of libbe(3)
no longer restrict the mountpoint property here, and the rest of the base
system is generally OK and will assume that a BE is mounted at /, let's do
the same.

Reported by: ler
MFC after: 3 days
lib/libbe/be_access.c