]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Fix management communication issues by creating character device to take a reference...
authorVaios Papadimitriou <vaios.papadimitriou@emulex.com>
Tue, 8 May 2012 22:01:25 +0000 (17:01 -0500)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Wed, 9 May 2012 00:01:25 +0000 (17:01 -0700)
commit20803ce4a7305e8e4b0ce20368974f23e6f29099
tree0d4f512fde728334f75b86f9d2fed17625c0c23e
parent58a42db86ae267e8addfad118900b2c6139ce920
Fix management communication issues by creating character device to take a reference on the driver (CR 126082)

The management userspace applications have no way to take a lock on the driver
to prevent it from unloading. To remedy this a character device is created that
will up the reference count on lpfc by one when it is opened and decrement it by
one when it is closed.

commit id: 3ef6d24cd9f473518dd7941e86cc2a5f8992eed0

Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
drivers/scsi/lpfc/lpfc_init.c