diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-03-27 04:51:03 +0000 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-06-01 00:24:12 -0700 |
commit | 79dc9c9e865a7f8c14737453f112ced25deafdef (patch) | |
tree | 3b2ed302eecee3319868fc5f29c7ecfea1f8f27e /drivers/android | |
parent | 80bfdfa92481d431b199eff72788588d13a3988f (diff) |
target/pr: Change alloc_registration to avoid pr_reg_tg_pt_lun
This patch changes __core_scsi3_do_alloc_registration() code to
drop pr_reg->pr_reg_tg_pt_lun pointer usage in favor of a new
pr_reg RPTI + existing pr_reg->pr_aptpl_target_lun used by
APTPL metadata logic.
It also includes changes to REGISTER, REGISTER_AND_MOVE and APTPL
feature bit codepaths to use rcu_dereference_check() with the
expected non-zero se_dev_entry->pr_kref reference held.
Reviewed-by: Hannes Reinecke <hare@suse.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/android')
0 files changed, 0 insertions, 0 deletions