projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c97117
)
dm snapshot: remove redundant assignment in merge fn
author
Alasdair G Kergon
<agk@redhat.com>
Fri, 27 Jul 2012 14:07:59 +0000
(15:07 +0100)
committer
Alasdair G Kergon
<agk@redhat.com>
Fri, 27 Jul 2012 14:07:59 +0000
(15:07 +0100)
Remove redundant bvm->bi_sector self-assignment in dm snapshot's
origin_merge().
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-snap.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-snap.c
b/drivers/md/dm-snap.c
index
6f75887
..
a228c20
100644
(file)
--- a/
drivers/md/dm-snap.c
+++ b/
drivers/md/dm-snap.c
@@
-2176,7
+2176,6
@@
static int origin_merge(struct dm_target *ti, struct bvec_merge_data *bvm,
return max_size;
bvm->bi_bdev = dev->bdev;
- bvm->bi_sector = bvm->bi_sector;
return min(max_size, q->merge_bvec_fn(q, bvm, biovec));
}