aoe: remove dev_base_lock use from aoecmd_cfg_pkts()
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 29 Oct 2010 01:15:29 +0000 (01:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Nov 2010 21:50:07 +0000 (13:50 -0800)
commit840a185dddfd098b78b96a30da4cad722a7aef18
tree25ad5551e354762f765c57ee0e0993c129a60582
parent1d5439b9a29b1386d44a617cbaf2f7acde1d697c
aoe: remove dev_base_lock use from aoecmd_cfg_pkts()

dev_base_lock is the legacy way to lock the device list, and is planned
to disappear. (writers hold RTNL, readers hold RCU lock)

Convert aoecmd_cfg_pkts() to RCU locking.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: "Ed L. Cashin" <ecashin@coraid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/block/aoe/aoecmd.c