target/iblock: Add parameter to specify read-only devices
authorAndy Grover <agrover@redhat.com>
Thu, 7 Jun 2012 17:38:51 +0000 (10:38 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 17 Jul 2012 00:29:11 +0000 (17:29 -0700)
commit44bfd0185043c9a92b2f20a4508dd6cd3bb84ded
tree9875dee43fb666614859f3b0c59aae9c6413db5e
parent7acd57070649da4ac3923f1d2075c084d83da1f4
target/iblock: Add parameter to specify read-only devices

see https://bugzilla.redhat.com/show_bug.cgi?id=818855

Adds a parameter so read-only block devices may be registered as
LIO backstores.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_iblock.c
drivers/target/target_core_iblock.h