]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix error message when zfs module is not loaded
authorTom Caputi <tcaputi@datto.com>
Fri, 7 Dec 2018 18:54:38 +0000 (13:54 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 7 Dec 2018 18:54:38 +0000 (10:54 -0800)
commit4b611761bd09718c267d5e3dcb3ded62e3a545df
treea6cec6cbe05f31bbc6330afaed7bbfbccc0d6fa9
parentef57371a92367394108a5f65cee3c00d50101a4d
Fix error message when zfs module is not loaded

This patch corrects a small issue where the wrong error message
was being displayed when the zfs kernel module was not loaded.
This also avoids waiting for the (by default) 10s timeout to see
if the /dev/zfs device appears.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #8187
lib/libzfs/libzfs_util.c