diff options
author | 2016-02-25 15:14:32 -0800 | |
---|---|---|
committer | 2016-03-10 21:48:55 -0800 | |
commit | 03a68b44faff1b3eef5424952044747c9c555f0e (patch) | |
tree | 4a1e59d4735b892ff4f41ef1bffe3be29060bbe3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | target/iblock: pass WRITE_SAME to device if possible (diff) | |
download | linux-dev-03a68b44faff1b3eef5424952044747c9c555f0e.tar.xz linux-dev-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions