Red Hat Bugzilla – Bug 590581
PATCH: libiscsi get_firmware_foo does not work without first creating a libiscsi context
Last modified: 2012-06-27 06:01:51 EDT
+++ This bug was initially created as a clone of Bug #590580 +++
Created an attachment (id=412756)
PATCH: call sysfs_init from libiscsi_get_firmware_foo
The libiscsi_get_firmware_foo functions do not work without first creating a libiscsi context, while they are intended to work without a context. The problem is that the sysfs code needs to be initialized before use and it is used by
the fwparam code. This patch fixes this by calling sysfs_init() when
libiscsi_get_firmware_foo is called and sysfs_init was not called yet.
I'll clone this bug for 5.5 as I believe we need it there too.
Thanks & Regards,
I can add this to pkg CVS myself if you want, but I'm not sure if I have commit rights there, only one way to find out I guess :)