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
332f2b1e
Commit
332f2b1e
authored
Mar 10, 2022
by
Mike Snitzer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dm: return void from __send_empty_flush
Signed-off-by:
Mike Snitzer
<
snitzer@redhat.com
>
parent
e2736347
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
drivers/md/dm.c
drivers/md/dm.c
+2
-3
No files found.
drivers/md/dm.c
View file @
332f2b1e
...
...
@@ -1369,7 +1369,7 @@ static void __send_duplicate_bios(struct clone_info *ci, struct dm_target *ti,
}
}
static
int
__send_empty_flush
(
struct
clone_info
*
ci
)
static
void
__send_empty_flush
(
struct
clone_info
*
ci
)
{
unsigned
target_nr
=
0
;
struct
dm_target
*
ti
;
...
...
@@ -1390,7 +1390,6 @@ static int __send_empty_flush(struct clone_info *ci)
__send_duplicate_bios
(
ci
,
ti
,
ti
->
num_flush_bios
,
NULL
);
bio_uninit
(
ci
->
bio
);
return
0
;
}
static
void
__send_changing_extent_only
(
struct
clone_info
*
ci
,
struct
dm_target
*
ti
,
...
...
@@ -1566,7 +1565,7 @@ static void dm_split_and_process_bio(struct mapped_device *md,
init_clone_info
(
&
ci
,
md
,
map
,
bio
);
if
(
bio
->
bi_opf
&
REQ_PREFLUSH
)
{
error
=
__send_empty_flush
(
&
ci
);
__send_empty_flush
(
&
ci
);
/* dm_io_complete submits any data associated with flush */
goto
out
;
}
...
...
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