]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libbe(3): Rewrite be_unmount to stop mucking with getmntinfo(2)
authorKyle Evans <kevans@FreeBSD.org>
Sat, 17 Nov 2018 19:19:37 +0000 (19:19 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Sat, 17 Nov 2018 19:19:37 +0000 (19:19 +0000)
commitefd6500d03b48b6f1f35a280eaeb5206e032fc2b
tree91a950379a72ea8235f66f49f41967b86aaa627b
parent51aecc893a107f6e00fadccf2555357a7cbd53e5
libbe(3): Rewrite be_unmount to stop mucking with getmntinfo(2)

Go through the ZFS layer instead; given a BE, we can derive the dataset,
zfs_open it, then zfs_unmount. ZFS takes care of the dirty details and
likely gets it more correct than we did for more interesting setups.

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