diff options
| author | Christoph Hellwig <hch@lst.de> | 2014-07-08 12:25:28 +0200 |
|---|---|---|
| committer | John Brewer <gzroms@hotmail.com> | 2014-08-03 21:26:12 -0400 |
| commit | bb5493e85b5fc2b3014378b7ed747b5a8f57ecd5 (patch) | |
| tree | b31cf49e0d8fa1a7a02e71aa5ce1740d088e5986 /net/lapb/lapb_timer.c | |
| parent | 33134d91428922d79f665ff39ed82c6f949732dd (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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
