git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dm log: userspace use list_move
[pandora-kernel.git]
/
drivers
/
md
/
dm-log-userspace-base.c
diff --git
a/drivers/md/dm-log-userspace-base.c
b/drivers/md/dm-log-userspace-base.c
index
aa2e0c3
..
1021c89
100644
(file)
--- a/
drivers/md/dm-log-userspace-base.c
+++ b/
drivers/md/dm-log-userspace-base.c
@@
-394,8
+394,7
@@
static int flush_by_group(struct log_c *lc, struct list_head *flush_list)
group[count] = fe->region;
count++;
- list_del(&fe->list);
- list_add(&fe->list, &tmp_list);
+ list_move(&fe->list, &tmp_list);
type = fe->type;
if (count >= MAX_FLUSH_GROUP_COUNT)