Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge git://github.com/davem330/ide

* git://github.com/davem330/ide:
ide-disk: Fix request requeuing

+6 -1
+6 -1
drivers/ide/ide-disk.c
··· 435 435 if (!(rq->cmd_flags & REQ_FLUSH)) 436 436 return BLKPREP_OK; 437 437 438 - cmd = kzalloc(sizeof(*cmd), GFP_ATOMIC); 438 + if (rq->special) { 439 + cmd = rq->special; 440 + memset(cmd, 0, sizeof(*cmd)); 441 + } else { 442 + cmd = kzalloc(sizeof(*cmd), GFP_ATOMIC); 443 + } 439 444 440 445 /* FIXME: map struct ide_taskfile on rq->cmd[] */ 441 446 BUG_ON(cmd == NULL);