projects
/
linux-dmdedup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3407228
)
Removing dm_dedup_endio()
author
Vasily Tarasov
<tarasov@vasily.name>
Mon, 6 Oct 2014 15:11:49 +0000
(11:11 -0400)
committer
Vasily Tarasov
<tarasov@vasily.name>
Mon, 6 Oct 2014 15:11:49 +0000
(11:11 -0400)
It is uselless in its current implementation.
drivers/md/dm-dedup-target.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-dedup-target.c
b/drivers/md/dm-dedup-target.c
index 3d2cf70b4bce8467ffe7880cd88c5a4a962ffc4f..89cec762de0230f70ea29a4ed777a9eed2ca2764 100644
(file)
--- a/
drivers/md/dm-dedup-target.c
+++ b/
drivers/md/dm-dedup-target.c
@@
-901,14
+901,6
@@
static int dm_dedup_message(struct dm_target *ti,
return r;
}
-static int dm_dedup_endio(struct dm_target *ti, struct bio *bio, int error)
-{
- if (error || bio_data_dir(bio) != READ)
- return 0;
-
- return 0;
-}
-
static struct target_type dm_dedup_target = {
.name = "dedup",
.version = {1, 0, 0},
@@
-916,7
+908,6
@@
static struct target_type dm_dedup_target = {
.ctr = dm_dedup_ctr,
.dtr = dm_dedup_dtr,
.map = dm_dedup_map,
- .end_io = dm_dedup_endio,
.message = dm_dedup_message,
.status = dm_dedup_status,
};