diff options
author | Christoph Hellwig <hch@lst.de> | 2014-07-08 10:25:28 (GMT) |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-07-08 10:25:28 (GMT) |
commit | d45b3279a5a2252cafcd665bbf2db8c9b31ef783 (patch) | |
tree | 45aa82b20beba9c325ca64f31ab798d27cfdc702 /ipc | |
parent | 448bfad8a185876ce8de484a921d49769972cad7 (diff) | |
download | linux-d45b3279a5a2252cafcd665bbf2db8c9b31ef783.tar.xz |
block: don't assume last put of shared tags is for the host
There is no inherent reason why the last put of a tag structure must be
the one for the Scsi_Host, as device model objects can be held for
arbitrary periods. Merge blk_free_tags and __blk_free_tags into a single
funtion that just release a references and get rid of the BUG() when the
host reference wasn't the last.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: stable@kernel.org
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions