Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
9f54cec5
Commit
9f54cec5
authored
Feb 11, 2016
by
Mike Snitzer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dm mpath: remove __pgpath_busy forward declaration, rename to pgpath_busy
Signed-off-by:
Mike Snitzer
<
snitzer@redhat.com
>
parent
be7d31cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
drivers/md/dm-mpath.c
drivers/md/dm-mpath.c
+2
-4
No files found.
drivers/md/dm-mpath.c
View file @
9f54cec5
...
...
@@ -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 @@ static int multipath_iterate_devices(struct dm_target *ti,
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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment