target/iscsi: Allocate session IDs from an IDA
commit31ff0ceeb266a4ac96f3fc8cebb85df862a22f92
authorMatthew Wilcox <willy@infradead.org>
Tue, 19 Jun 2018 05:23:04 +0000 (19 01:23 -0400)
committerMatthew Wilcox <willy@infradead.org>
Wed, 22 Aug 2018 03:54:19 +0000 (21 23:54 -0400)
tree0b5d49f8c334d178b63b4bcc11e668f6d964f91d
parent26abc916a898d34c5ad159315a2f683def3c5555
target/iscsi: Allocate session IDs from an IDA

Since the session is never looked up by ID, we can use the more
space-efficient IDA instead of the IDR.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
drivers/target/iscsi/iscsi_target.c
drivers/target/iscsi/iscsi_target.h
drivers/target/iscsi/iscsi_target_login.c