[Sheepdog] [PATCH] collie: remove unused member from struct recovery_work
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Wed Apr 21 06:46:43 CEST 2010
Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
collie/store.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/collie/store.c b/collie/store.c
index d89433e..1c3d0ad 100644
--- a/collie/store.c
+++ b/collie/store.c
@@ -952,8 +952,6 @@ struct recovery_work {
uint32_t epoch;
uint32_t done;
- struct sheepdog_node_list_entry e;
-
struct timer timer;
int retry;
struct work work;
@@ -1304,8 +1302,6 @@ static int __fill_obj_list(struct recovery_work *rw,
dprintf("%016lx, %016lx\n", hdr.start, hdr.end);
- memcpy(&rw->e, e, sizeof(rw->e));
-
ret = exec_req(fd, (struct sd_req *)&hdr, rw->buf + rw->count * sizeof(uint64_t), &wlen, &rlen);
close(fd);
--
1.5.6.5
More information about the sheepdog
mailing list