commit | 33ce6a87f2aba790429ac228288edc0e410143a2 | [log] [tgz] |
---|---|---|
author | Andy Grover <agrover@redhat.com> | Thu May 16 10:40:54 2013 -0700 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Fri Jun 14 00:04:25 2013 -0700 |
tree | 5ce5e96b2b3c478f38469ea8cb7ea19ed46a6012 | |
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>