mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
dm: remove unnecessary wrapper around blk_lld_busy
There is no need for DM to export a wrapper around the already exported blk_lld_busy(). Signed-off-by: Mike Snitzer <[email protected]>
This commit is contained in:
parent
09c2d53101
commit
52b09914af
3 changed files with 1 additions and 12 deletions
|
|
@ -1627,7 +1627,7 @@ static int __pgpath_busy(struct pgpath *pgpath)
|
|||
{
|
||||
struct request_queue *q = bdev_get_queue(pgpath->path.dev->bdev);
|
||||
|
||||
return dm_underlying_device_busy(q);
|
||||
return blk_lld_busy(q);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -2006,12 +2006,6 @@ out:
|
|||
dm_put_live_table(md, srcu_idx);
|
||||
}
|
||||
|
||||
int dm_underlying_device_busy(struct request_queue *q)
|
||||
{
|
||||
return blk_lld_busy(q);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(dm_underlying_device_busy);
|
||||
|
||||
static int dm_lld_busy(struct request_queue *q)
|
||||
{
|
||||
int r;
|
||||
|
|
|
|||
Loading…
Reference in a new issue