diff options
author | Prawn <[email protected]> | 2020-06-22 18:56:29 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-22 09:56:29 -0700 |
commit | 2451a553681fac5e7e42bd794adbf5587bce6749 (patch) | |
tree | 2e9aa546251003c935677a807f82ec5488f58eb4 /module/zfs/mmp.c | |
parent | 68301ba20e0a6543304a63d22b558fddea130d79 (diff) |
zfs -V: Print userland version even if kernel module not loaded
Running zfs -V when the modules are not loaded would currently
result in the following output:
zfs_version_kernel() failed: No such file or directory
Note the lack of userland version output. Reorder the code to
ensure the userland version is printed even when the kmods
are not loaded.
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: InsanePrawn <[email protected]>
Closes #10483
Diffstat (limited to 'module/zfs/mmp.c')
0 files changed, 0 insertions, 0 deletions