[SCSI] libosd: check for kzalloc() failure
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 30 Jan 2013 07:06:02 +0000 (10:06 +0300)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 22 Feb 2013 11:26:40 +0000 (11:26 +0000)
commit6d1f6621fa12800fc84f62db9e0b7a6b623eb439
tree66bb22fca895c2867085ad7f2a84982b8efd4a33
parent50e9291578886099888b8169459c6f97626ccbfc
[SCSI] libosd: check for kzalloc() failure

There wasn't any error handling for this kzalloc().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/osd/osd_initiator.c