HomeFreeBSD

linux: libzfs: mount: fix uninitialised flags

Description

linux: libzfs: mount: fix uninitialised flags

They're later |=d with constants, but never reset

Caught by valgrind while investigating
https://github.com/openzfs/zfs/pull/12928#issuecomment-1007496550

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12954

Details

Provenance
наб <nabijaczleweli@nabijaczleweli.xyz>Authored on Jan 13 2022, 7:07 PM
GitHub <noreply@github.com>Committed on Jan 13 2022, 7:07 PM
Parents
rG836136961a30: Add ShellCheck's `--enable=all` inside `scripts/`
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG4737a9eb7069: linux: libzfs: mount: fix uninitialised flags (authored by наб <nabijaczleweli@nabijaczleweli.xyz>).Jan 13 2022, 7:07 PM