aio: change a stray spin_unlock_bh() to spin_unlock()
Subsystems (3)
PATCH 1/1 aio: change a stray spin_unlock_bh() to spin_unlock()
We missed this spin_unlock_bh() when we removed the _bh from the other locks in cb22bbe9f7 "aio: aio_nr_lock is taken only synchronously now"
Signed-off-by Dan Carpenter <[email protected]>
fs/aio.c +1 -1
@@ -280,7 +280,7 @@ static struct kioctx *ioctx_alloc(unsigned nr_events)spin_lock (&aio_nr_lock);if (aio_nr + nr_events > aio_max_nr || aio_nr + nr_events < aio_nr) { -spin_unlock_bh (&aio_nr_lock); +spin_unlock (&aio_nr_lock); goto out_cleanup; } aio_nr += ctx->max_reqs;
Al Viro
maintainerQuoted 2 lines · Dan Carpenter
We missed this
spin_unlock_bh()when we removed the_bhfrom the other locks incb22bbe9f7"aio:aio_nr_lockis taken only synchronously now"
Nice catch; folded into the offending commit