summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2016-02-11 21:42:28 -0500
committerMike Snitzer <snitzer@redhat.com>2016-02-22 22:34:44 -0500
commit9f54cec553a84d09dc967a1798f8248cd1a6c6fc (patch)
treef4895df94ed5d5627f7213d3793ecd45fc803fd7 /drivers/md
parentbe7d31cca8865c63087ce502a8b3dca4600c2a13 (diff)
downloadlinux-9f54cec553a84d09dc967a1798f8248cd1a6c6fc.tar.bz2
dm mpath: remove __pgpath_busy forward declaration, rename to pgpath_busy
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm-mpath.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c
index 06911c8feaee..0cc2e6c1fd75 100644
--- a/drivers/md/dm-mpath.c
+++ b/drivers/md/dm-mpath.c
@@ -121,7 +121,6 @@ static struct kmem_cache *_mpio_cache;
static struct workqueue_struct *kmultipathd, *kmpath_handlerd;
static void trigger_event(struct work_struct *work);
static void activate_path(struct work_struct *work);
-static int __pgpath_busy(struct pgpath *pgpath);
/*-----------------------------------------------
@@ -1635,7 +1634,7 @@ out:
return ret;
}
-static int __pgpath_busy(struct pgpath *pgpath)
+static int pgpath_busy(struct pgpath *pgpath)
{
struct request_queue *q = bdev_get_queue(pgpath->path.dev->bdev);
@@ -1689,8 +1688,7 @@ static int multipath_busy(struct dm_target *ti)
list_for_each_entry(pgpath, &pg->pgpaths, list)
if (pgpath->is_active) {
has_active = true;
-
- if (!__pgpath_busy(pgpath)) {
+ if (!pgpath_busy(pgpath)) {
busy = false;
break;
}