[SCSI] fcoe: fixes wrong error exit in fcoe_create
authorVasu Dev <vasu.dev@intel.com>
Fri, 7 May 2010 22:18:19 +0000 (15:18 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 17 May 2010 02:22:27 +0000 (22:22 -0400)
commit721cafafb66f57b461226aa197997f3e5b296f91
tree6be6c819f0d1dd4d6230ccc3d7f53420cea6873f
parentb3667f9177359b0594e4f2cd5cc01115f8c7e2af
[SCSI] fcoe: fixes wrong error exit in fcoe_create

fcoe_create exits using out_nodev label when module is not
yet LIVE but this exit path unlocks the rtnl_lock though
rtnl lock was not held in this case.

So this patch replaces out_nodev with out_nomod to exit
w/o unlocking rtnl_lock.

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/fcoe.c