summaryrefslogtreecommitdiff
path: root/drivers/target/target_core_configfs.c
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2013-05-16 17:40:54 (GMT)
committerNicholas Bellinger <nab@linux-iscsi.org>2013-06-14 07:04:25 (GMT)
commit33ce6a87f2aba790429ac228288edc0e410143a2 (patch)
tree5ce5e96b2b3c478f38469ea8cb7ea19ed46a6012 /drivers/target/target_core_configfs.c
parent317ddd256b9c24b0d78fa8018f80f1e495481a10 (diff)
downloadlinux-33ce6a87f2aba790429ac228288edc0e410143a2.tar.xz
target: Add register_type and preempt_type enums to clarify code
core_scsi3_enulate_pro_register took an 'ignore_key' parameter that really distinguished between REGISTER and REGISTER_AND_IGNORE_EXISTING_KEY registration types, which was a little confusing. Same situation for PREEMPT and PREEMPT_AND_ABORT. Use enums to add a little more descriptiveness to the code. Signed-off-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_configfs.c')
0 files changed, 0 insertions, 0 deletions