diff options
author | Christoph Hellwig <hch@lst.de> | 2014-07-08 14:25:28 +0400 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2014-09-14 02:41:37 +0400 |
commit | 60d940c6fd6252f6307ecacd49acac54cc6d8e8d (patch) | |
tree | d30637a5e6c3ece4f7a9352afc27e516abc680c3 /Documentation/dynamic-debug-howto.txt | |
parent | 5d42f37b788f1bfa1b09cca8984ac76fe4dbae64 (diff) | |
download | linux-60d940c6fd6252f6307ecacd49acac54cc6d8e8d.tar.xz |
block: don't assume last put of shared tags is for the host
commit d45b3279a5a2252cafcd665bbf2db8c9b31ef783 upstream.
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>
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'Documentation/dynamic-debug-howto.txt')
0 files changed, 0 insertions, 0 deletions