summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-07-08 12:25:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-31 12:53:48 -0700
commitcb454b6d31756674d2e0ceaa336ec87019728d9b (patch)
tree058584f9b00ada5371e79c3bde7b19f96bc1b66c /include/linux
parent668b7a05f2fa59c60ca9820269e3d8dfaa218693 (diff)
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions