]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libbe(3): restructure be_mount, skip canmount check for BE dataset
authorkevans <kevans@FreeBSD.org>
Tue, 25 Jun 2019 18:47:40 +0000 (18:47 +0000)
committerkevans <kevans@FreeBSD.org>
Tue, 25 Jun 2019 18:47:40 +0000 (18:47 +0000)
commit5e80329f9cce24a4239ff398a06797f639d40d59
tree21b4345f34f4339ab4073f52c2e56b36f72373c4
parentb3d93aa84726a694d20b31d22c08472026f93b64
libbe(3): restructure be_mount, skip canmount check for BE dataset

Further cleanup after r349380; loader and kernel will both ignore canmount
on the root dataset as well, so we should not be so strict about it when
mounting it. be_mount is restructured to make it more clear that depth==0 is
special, and to not try fetching these properties that we won't care about.

MFC after: 3 days
lib/libbe/be_access.c