Skip to content
Commit fb541ca4 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Song Liu
Browse files

md: remove lock_bdev / unlock_bdev



These wrappers for blkdev_get / blkdev_put just horribly confuse the
code with their odd naming.  Remove them and improve the error unwinding
in md_import_device with the now folded code.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarSong Liu <song@kernel.org>
parent 1d6df9d3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment