diff options
author | Christoph Hellwig <hch@lst.de> | 2015-05-01 17:47:56 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-05-30 22:42:27 -0700 |
commit | e4aae5af810eaa61c2cd7ba79d95ebfe0d88fe9b (patch) | |
tree | 7149b3110c42ab0a549502286dd4efe693d09940 /drivers/target/iscsi/iscsi_target_configfs.c | |
parent | 3868e4365f1735698df373733c9d99d7b9a688e8 (diff) | |
download | blackbird-op-linux-e4aae5af810eaa61c2cd7ba79d95ebfe0d88fe9b.tar.gz blackbird-op-linux-e4aae5af810eaa61c2cd7ba79d95ebfe0d88fe9b.zip |
target: change core_tpg_register prototype
Remove the unneeded fabric_ptr argument, and change the type argument
to pass in a SPC protocol identifier.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_configfs.c')
-rw-r--r-- | drivers/target/iscsi/iscsi_target_configfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/iscsi/iscsi_target_configfs.c b/drivers/target/iscsi/iscsi_target_configfs.c index 03b2e15c1b6c..0d5d88817a47 100644 --- a/drivers/target/iscsi/iscsi_target_configfs.c +++ b/drivers/target/iscsi/iscsi_target_configfs.c @@ -1421,7 +1421,7 @@ static struct se_portal_group *lio_target_tiqn_addtpg( return NULL; ret = core_tpg_register(&iscsi_ops, wwn, &tpg->tpg_se_tpg, - tpg, TRANSPORT_TPG_TYPE_NORMAL); + SCSI_PROTOCOL_ISCSI); if (ret < 0) return NULL; |