]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit57ee654b397b12dd6e8a53a8b4f856acec013174
tree25ad5551e354762f765c57ee0e0993c129a60582
parent41f292ad58dd53d7091ef69688dc720a65c8451d
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