Darik Horn fa6f7d8f9d Import spl_hostid as a module parameter.
Provide a call_usermodehelper() alternative by letting the hostid be passed as
a module parameter like this:

  $ modprobe spl spl_hostid=0x12345678

Internally change the spl_hostid variable to unsigned long because that is the
type that the coreutils /usr/bin/hostid returns.

Move the hostid command into GET_HOSTID_CMD for consistency with the similar
GET_KALLSYMS_ADDR_CMD invocation.

Use argv[0] instead of sh_path for consistency internally and with other Linux
drivers.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2011-04-21 09:41:01 -07:00
..
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00
2010-06-14 14:20:31 -07:00
2010-05-17 15:18:00 -07:00
2010-01-08 09:37:54 -08:00
2010-09-05 21:49:05 -07:00
2010-09-05 21:49:05 -07:00
2010-05-17 15:18:00 -07:00
2011-02-25 16:56:22 -08:00
2010-05-17 15:18:00 -07:00
2010-07-20 13:29:35 -07:00
2011-02-25 16:56:46 -08:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00