commit | a5d18612295a0556bc66e8dddb19515f262c3612 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Mar 20 20:41:34 2018 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Mar 26 08:53:43 2018 -0600 |
tree | c05c195dfc8dd0126e220667d2801e0d72b931ba | |
parent | f871749a9fa40a1c2d09aaf66776e32a0a638881 [diff] |
nvmet: refactor configfs transport type handling Have a common table of mappings from numerical transport ids to names, and zero the transport specific area in common code in nvmet_addr_trtype_store. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>