Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 671a74e7 authored by Lars Ellenberg's avatar Lars Ellenberg Committed by Philipp Reisner
Browse files

drbd: remove now unused seq_num member from struct drbd_request

parent 001a8868
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -712,7 +712,6 @@ struct drbd_request {
	struct list_head tl_requests; /* ring list in the transfer log */
	struct bio *master_bio;       /* master bio pointer */
	unsigned long rq_state; /* see comments above _req_mod() */
	int seq_num;
	unsigned long start_time;
};

+1 −2
Original line number Diff line number Diff line
@@ -2814,8 +2814,7 @@ int drbd_send_dblock(struct drbd_conf *mdev, struct drbd_request *req)

	p.sector   = cpu_to_be64(req->sector);
	p.block_id = (unsigned long)req;
	p.seq_num  = cpu_to_be32(req->seq_num =
				 atomic_add_return(1, &mdev->packet_seq));
	p.seq_num  = cpu_to_be32(atomic_add_return(1, &mdev->packet_seq));

	dp_flags = bio_flags_to_wire(mdev, req->master_bio->bi_rw);