dm mpath: remove __pgpath_busy forward declaration, rename to pgpath_busy
authorMike Snitzer <snitzer@redhat.com>
Fri, 12 Feb 2016 02:42:28 +0000 (21:42 -0500)
committerMike Snitzer <snitzer@redhat.com>
Tue, 23 Feb 2016 03:34:44 +0000 (22:34 -0500)
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-mpath.c

index 06911c8feaeec6a89c952d2897f11f63fa5b95db..0cc2e6c1fd7547209b1b3f869172013fd99e48a7 100644 (file)
@@ -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;
                        }