projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc8f167
)
md/raid5-cache: remove the unnecessary next_cp_seq field from the r5l_log
author
JackieLiu
<liuyun01@kylinos.cn>
Tue, 29 Nov 2016 03:13:20 +0000
(11:13 +0800)
committer
Shaohua Li
<shli@fb.com>
Tue, 29 Nov 2016 22:46:22 +0000
(14:46 -0800)
The next_cp_seq field is useless, remove it.
Signed-off-by: JackieLiu <liuyun01@kylinos.cn>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid5-cache.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/raid5-cache.c
b/drivers/md/raid5-cache.c
index 7b9149ef685ce1b09e73dded0db23d07d4c3d7b9..a46f547da26194c0d1dd7d4104355337df99e482 100644
(file)
--- a/
drivers/md/raid5-cache.c
+++ b/
drivers/md/raid5-cache.c
@@
-113,7
+113,6
@@
struct r5l_log {
u64 seq; /* log head sequence */
sector_t next_checkpoint;
- u64 next_cp_seq;
struct mutex io_mutex;
struct r5l_io_unit *current_io; /* current io_unit accepting new data */
@@
-1075,7
+1074,6
@@
static bool r5l_complete_finished_ios(struct r5l_log *log)
break;
log->next_checkpoint = io->log_start;
- log->next_cp_seq = io->seq;
list_del(&io->log_sibling);
mempool_free(io, log->io_pool);