From: Oleg Drokin <green@namesys.com>
Without this, if elv_try_last_merge() returns nonzero, we do not
initialise *req. That results in a subsequent BUG_ON() in
__make_request() because req is NULL (or is just uninitialised).
struct request *__rq;
int ret;
- if ((ret = elv_try_last_merge(q, bio)))
+ if ((ret = elv_try_last_merge(q, bio))) {
+ *req = q->last_merge;
return ret;
+ }
while ((entry = entry->prev) != &q->queue_head) {
__rq = list_entry_rq(entry);