mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Remove blk_fetch_request() autotools check
Signed-off-by: Richard Yao <ryao@gentoo.org>
This commit is contained in:
@@ -36,20 +36,6 @@
|
||||
typedef unsigned __bitwise__ fmode_t;
|
||||
#endif /* HAVE_FMODE_T */
|
||||
|
||||
#ifndef HAVE_BLK_FETCH_REQUEST
|
||||
static inline struct request *
|
||||
blk_fetch_request(struct request_queue *q)
|
||||
{
|
||||
struct request *req;
|
||||
|
||||
req = elv_next_request(q);
|
||||
if (req)
|
||||
blkdev_dequeue_request(req);
|
||||
|
||||
return (req);
|
||||
}
|
||||
#endif /* HAVE_BLK_FETCH_REQUEST */
|
||||
|
||||
/*
|
||||
* 2.6.36 API change,
|
||||
* The blk_queue_flush() interface has replaced blk_queue_ordered()
|
||||
|
||||
Reference in New Issue
Block a user