diff options
author | Damian Szuberski <[email protected]> | 2022-02-08 19:53:23 +0100 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2022-02-16 17:58:55 -0800 |
commit | bb271d67e85ad90cda640e382daf3a15f6e82d9e (patch) | |
tree | 760bf1f52dd15f4025a35de0dbc3555de7008d52 /tests | |
parent | a61915e08687b70654290df7088928f42f829aea (diff) |
`mount.zfs -o zfsutil` leverages `zfs_mount_at()`
Using `zfs_mount_at()` gives opportunity to properly propagate
mountopts from what's stored in a pool to the `mount(2)` syscall
invocation. It fixes cases when mount options are set to incorrect
values and rectification is impossible (e. g. Linux initrd boot
sequence in #7947).
Moved debug information printing after all variables are
initialized - printed text reflects what is passed to `mount(2)`.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: szubersk <[email protected]>
Issue #7947
Closes #13021
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions