[SCSI] target: Convert rd_build_device_space() to use errno
authorDan Carpenter <error27@gmail.com>
Mon, 14 Mar 2011 11:06:03 +0000 (04:06 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 23 Mar 2011 16:36:32 +0000 (11:36 -0500)
commit065f97161b2da30b13000b1d9f64adff7e01e270
treea3b1bf5149d16aa9510abc407466c121ad7c643f
parent35ce9e26d7e0674892f77a9172c898dfcba50064
[SCSI] target: Convert rd_build_device_space() to use errno

This patch converts rd_build_device_space() to return errno usage
for failures in rd_create_virtdevice().

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/target/target_core_rd.c