diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-04-04 08:39:36 -0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-05-04 09:19:20 +0200 |
commit | aa26d662b9d44e7f5b0d109e892e537a23471863 (patch) | |
tree | 1f167ec18bc29fadd6e94de57f6ec985b7c6c92f /net/ceph/debugfs.c | |
parent | 79162547b76e4979b21ef80c9629ada94a51a59b (diff) | |
download | linux-stable-aa26d662b9d44e7f5b0d109e892e537a23471863.tar.gz linux-stable-aa26d662b9d44e7f5b0d109e892e537a23471863.tar.bz2 linux-stable-aa26d662b9d44e7f5b0d109e892e537a23471863.zip |
libceph: remove req->r_replay_version
Nothing uses this anymore with the removal of the ack vs. commit code.
Remove the field and just encode zeroes into place in the request
encoding.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/ceph/debugfs.c')
-rw-r--r-- | net/ceph/debugfs.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ceph/debugfs.c b/net/ceph/debugfs.c index c62b2b029a6e..d7e63a4f5578 100644 --- a/net/ceph/debugfs.c +++ b/net/ceph/debugfs.c @@ -177,9 +177,7 @@ static void dump_request(struct seq_file *s, struct ceph_osd_request *req) seq_printf(s, "%llu\t", req->r_tid); dump_target(s, &req->r_t); - seq_printf(s, "\t%d\t%u'%llu", req->r_attempts, - le32_to_cpu(req->r_replay_version.epoch), - le64_to_cpu(req->r_replay_version.version)); + seq_printf(s, "\t%d", req->r_attempts); for (i = 0; i < req->r_num_ops; i++) { struct ceph_osd_req_op *op = &req->r_ops[i]; |