summaryrefslogtreecommitdiffstats
path: root/drivers/md/multipath.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2017-09-06 08:25:51 +0200
committerJens Axboe <axboe@kernel.dk>2017-09-06 16:17:33 +0200
commit4b758df21ee7081ab41448d21d60367efaa625b3 (patch)
tree7fe339d622132fd3d83689105f3d946dcfc77a50 /drivers/md/multipath.h
parentblock/loop: remove unused field (diff)
downloadlinux-4b758df21ee7081ab41448d21d60367efaa625b3.tar.xz
linux-4b758df21ee7081ab41448d21d60367efaa625b3.zip
bcache: Fix leak of bdev reference
If blkdev_get_by_path() in register_bcache() fails, we try to lookup the block device using lookup_bdev() to detect which situation we are in to properly report error. However we never drop the reference returned to us from lookup_bdev(). Fix that. Signed-off-by: Jan Kara <jack@suse.cz> Acked-by: Coly Li <colyli@suse.de> Cc: stable@vger.kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/multipath.h')
0 files changed, 0 insertions, 0 deletions