OpenZFS on Linux and FreeBSD
Go to file
Ricardo M. Correia a0b5ae8aca Fix off-by-1 truncation of hw_serial when converting from integer to string, when writing to /proc/sys/kernel/spl/spl_hostid.
Fixes hostid mismatch which leads to assertion failure when the hostid/hw_serial is a 10-character decimal number:

$ zpool status
  pool: lustre
 state: ONLINE
lt-zpool: zpool_main.c:3176: status_callback: Assertion `reason == ZPOOL_STATUS_OK' failed.
zsh: 5262 abort      zpool status
2009-03-12 15:47:50 -07:00
cmd Build system and packaging (RPM support) 2009-03-09 15:56:55 -07:00
config Build system cleanup 2009-03-11 12:37:34 -07:00
include Minor bug fix in XDR code introduced in last minute change before landing. 2009-03-11 16:27:35 -07:00
lib Build system and packaging (RPM support) 2009-03-09 15:56:55 -07:00
module Fix off-by-1 truncation of hw_serial when converting from integer to string, when writing to /proc/sys/kernel/spl/spl_hostid. 2009-03-12 15:47:50 -07:00
patches Linux VM Integration Cleanup 2009-03-04 10:04:15 -08:00
scripts Build system and packaging (RPM support) 2009-03-09 15:56:55 -07:00
AUTHORS Go through and add a header with the proper UCRL number. 2008-05-26 04:38:26 +00:00
COPYING Go through and add a header with the proper UCRL number. 2008-05-26 04:38:26 +00:00
ChangeLog Prep for 0.4.2 tag 2009-02-05 13:43:45 -08:00
DISCLAIMER Go through and add a header with the proper UCRL number. 2008-05-26 04:38:26 +00:00
INSTALL Trivial commit to remove whitespace 2008-07-09 19:11:29 +00:00
META Prep for 0.4.2 tag 2009-02-05 13:43:45 -08:00
Makefile.am Build system cleanup 2009-03-11 12:37:34 -07:00
Makefile.in Build system cleanup 2009-03-11 12:37:34 -07:00
autogen.sh * : Add autogen.sh products. 2008-11-24 23:49:18 +00:00
configure Build system cleanup 2009-03-11 12:37:34 -07:00
configure.ac Build system cleanup 2009-03-11 12:37:34 -07:00
spl.spec.in Build system cleanup 2009-03-11 12:37:34 -07:00
spl_config.h.in Build system cleanup 2009-03-11 12:37:34 -07:00