diff options
author | Mike Snitzer <snitzer@redhat.com> | 2015-02-24 00:36:41 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-03-31 19:03:49 +0300 |
commit | 52b09914af86fa3e728175c1125c91520e437b2f (patch) | |
tree | f2cea55f24fb5273f60927cc9314a318f6754fa1 /drivers/md | |
parent | 09c2d53101da87f5ab4084643d2f8c718b3ab3cf (diff) | |
download | linux-52b09914af86fa3e728175c1125c91520e437b2f.tar.xz |
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 <snitzer@redhat.com>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/dm-mpath.c | 2 | ||||
-rw-r--r-- | drivers/md/dm.c | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index d376dc87716e..add6391f3f8e 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c @@ -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); } /* diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 0e5f3441fcda..e7095ebb8d64 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -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; |