diff options
author | Andy Grover <agrover@redhat.com> | 2013-05-16 10:40:54 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-06-14 00:04:25 -0700 |
commit | 33ce6a87f2aba790429ac228288edc0e410143a2 (patch) | |
tree | 5ce5e96b2b3c478f38469ea8cb7ea19ed46a6012 /kernel/padata.c | |
parent | 317ddd256b9c24b0d78fa8018f80f1e495481a10 (diff) |
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 'kernel/padata.c')
0 files changed, 0 insertions, 0 deletions