Skip to content

Commit

Permalink
target: kill struct se_subsystem_dev
Browse files Browse the repository at this point in the history
Simplify the code a lot by killing the superflous struct se_subsystem_dev.
Instead se_device is allocated early on by the backend driver, which allocates
it as part of its own per-device structure, borrowing the scheme that is for
example used for inode allocation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
  • Loading branch information
Christoph Hellwig authored and Nicholas Bellinger committed Nov 7, 2012
1 parent 3d70f8c commit 0fd97cc
Show file tree
Hide file tree
Showing 26 changed files with 1,049 additions and 1,909 deletions.
1 change: 0 additions & 1 deletion drivers/target/loopback/tcm_loop.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ struct tcm_loop_hba {
struct se_hba_s *se_hba;
struct se_lun *tl_hba_lun;
struct se_port *tl_hba_lun_sep;
struct se_device_s *se_dev_hba_ptr;
struct tcm_loop_nexus *tl_nexus;
struct device dev;
struct Scsi_Host *sh;
Expand Down
Loading

0 comments on commit 0fd97cc

Please sign in to comment.