summaryrefslogtreecommitdiff
path: root/drivers/target/target_core_tpg.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-05-10 18:14:58 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2015-06-01 00:25:38 -0700
commit3effdb9094fd06b9c61ecef08d610ae90805fd98 (patch)
tree6b49994e6ca40e5c4cd2a3a391d6c930c1018ecf /drivers/target/target_core_tpg.c
parent5873c4d157400ade4052e9d7b6259fa592e1ddbf (diff)
target: simplify backend attribute implementation
Consolidate the implementation of the backend attributes in a single file and single function per attribute show/store function instead of splitting it into multiple functions in multiple files. Also use the proper strto* helpers for exposed data types, add macros to implement the store methods for the most common data types and share the show methods between the two different attribute implementations. (Fix bogus store_pi_prot_format flag=0 return value - nab) Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_tpg.c')
0 files changed, 0 insertions, 0 deletions