HomeFreeBSD

libbe: pull props for the correct dataset in be_mounted_at()

Description

libbe: pull props for the correct dataset in be_mounted_at()

The props feature to this API was added as a "just in case", with no
planned consumer. It turns out that it was implemented incorrectly,
tapping out props for the BE root (BE's parent) rather than the BE
itself in all cases.

Fetch properties for the dataset that's actually mounted at the queried
path.

Reported by: Christian McDonald <cmcdonald netgate com>
MFC after: 3 days

Details

Provenance
kevansAuthored on Mar 31 2022, 7:19 PM
Parents
rGd155d8e13856: libbe: fix be_mounted_at() with props after bootonce
Branches
Unknown
Tags
Unknown