net/x25: push BKL usage into x25_proto
authorArnd Bergmann <arnd@arndb.de>
Thu, 5 Nov 2009 04:37:29 +0000 (04:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Nov 2009 08:46:40 +0000 (00:46 -0800)
commit91774904fbf0fe1c71441dd8299342a4654f7103
treeef788b00bb8bbf8bbc7552d843a3093ec68026c2
parent58a9d73202dd40076992154e9acfb98489cc8eab
net/x25: push BKL usage into x25_proto

The x25 driver uses lock_kernel() implicitly through
its proto_ops wrapper. The makes the usage explicit
in order to get rid of that wrapper and to better document
the usage of the BKL.

The next step should be to get rid of the usage of the BKL
in x25 entirely, which requires understanding what data
structures need serialized accesses.

Cc: Henner Eisen <eis@baty.hanse.de>
Cc: David S. Miller <davem@davemloft.net>
Cc: linux-x25@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/x25/af_x25.c