]> git.baikalelectronics.ru Git - kernel.git/commit
xen-blkfront: switch from llist to list
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 18 Mar 2013 16:49:34 +0000 (17:49 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 19 Mar 2013 14:27:56 +0000 (10:27 -0400)
commitd2fbc34f448148974a1624518407e788a8d4da80
tree9e4d66a3da12ecc42a8e2dc84460264087a2b0b1
parent3c7faf3e227589111c4c86bb89abd253b8da39da
xen-blkfront: switch from llist to list

The git commit 7c6ef2b69a43a3d98de84cf3403bee45f87bd29f
(xen-blkfront: drop the use of llist_for_each_entry_safe)

was a stop-gate to fix a GCC4.1 bug. The appropiate way
is to actually use an list instead of using an llist.

As such this patch replaces the usage of llist with an
list.

Since we always manipulate the list while holding the io_lock, there's
no need for additional locking (llist used previously is safe to use
concurrently without additional locking).

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
CC: stable@vger.kernel.org
[v1: Redid the git commit description]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkfront.c