Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
* [Drbd-dev] drbd: clean reference to old kernels
@ 2011-01-13  9:34 Or Gerlitz
  2011-01-13 13:57 ` Jens Axboe
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Or Gerlitz @ 2011-01-13  9:34 UTC (permalink / raw)
  To: Philipp Reisner; +Cc: Jens Axboe, Lars Ellenberg, drbd-dev

drop code present under #ifdef which is relevant to 2.6.28 and below

Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com>

---

Philipp, I haven't noted if/where the drbd updates for 2.6.38 were posted,
have them? do you typically post the pull request to LKML or there's a lower
volume mailing list where this can be tracked?

diff --git a/drivers/block/drbd/drbd_req.c b/drivers/block/drbd/drbd_req.c
index 11a75d3..85f6cf6 100644
--- a/drivers/block/drbd/drbd_req.c
+++ b/drivers/block/drbd/drbd_req.c
@@ -1074,9 +1074,6 @@ int drbd_make_request_26(struct request_queue *q, struct bio *bio)
 		const int mask = sps - 1;
 		const sector_t first_sectors = sps - (sect & mask);
 		bp = bio_split(bio,
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)
-				bio_split_pool,
-#endif
 				first_sectors);

 		/* we need to get a "reference count" (ap_bio_cnt)

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-01-23 12:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-13  9:34 [Drbd-dev] drbd: clean reference to old kernels Or Gerlitz
2011-01-13 13:57 ` Jens Axboe
2011-01-13 14:27 ` [Drbd-dev] [PATCH v2] " Or Gerlitz
2011-01-13 15:28   ` Lars Ellenberg
2011-01-23 12:35   ` [Drbd-dev] [PATCH v3] " Or Gerlitz
2011-01-13 15:04 ` [Drbd-dev] " Philipp Reisner
2011-01-13 15:46   ` Or Gerlitz
2011-01-13 16:07     ` Philipp Reisner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox