diff options
author | Andy Grover <agrover@redhat.com> | 2016-02-25 15:14:32 -0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2016-03-10 21:48:55 -0800 |
commit | 03a68b44faff1b3eef5424952044747c9c555f0e (patch) | |
tree | 4a1e59d4735b892ff4f41ef1bffe3be29060bbe3 /drivers/target/iscsi/iscsi_target_erl0.c | |
parent | 07b6319687026bdac90a0bb9eeb0509f1ff27179 (diff) | |
download | blackbird-op-linux-03a68b44faff1b3eef5424952044747c9c555f0e.tar.gz blackbird-op-linux-03a68b44faff1b3eef5424952044747c9c555f0e.zip |
target: Remove enum transport_lunflags_table
se_dev_entry.lun_flags and se_lun.lun_access are only used for keeping
track of read-write vs. read-only state. Since this is an either/or thing
we can represent it as bool, and remove the unneeded enum
transport_lunflags_table, which is left over from when there were more
flags.
Change code that uses this enum to just use true/false, and make it clear
through variable and param names that true means read-only, false means
read-write.
Signed-off-by: Andy Grover <agrover@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_erl0.c')
0 files changed, 0 insertions, 0 deletions