HomeFreeBSD

Fix for mountpoint=legacy

Description

Fix for mountpoint=legacy

We need to clear mountpoint only after checking it.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Signed-off-by: ofthesun9 <olivier@ofthesun.net>
Closes #14599
Closes #14604

Details

Provenance
ofthesun9 <olivier@ofthesun.net>Authored on Mar 14 2023, 11:40 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 15 2023, 5:45 PM
Parents
rG4b3133e671b9: ZFS_IOC_COUNT_FILLED does unnecessary txg_wait_synced()
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGa5c469c5f380: Fix for mountpoint=legacy (authored by ofthesun9 <olivier@ofthesun.net>).Mar 15 2023, 5:45 PM