]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NETROM]: Remove unessecary lock_sock calls in netrom_ioctl()
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Jan 2006 22:14:46 +0000 (14:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Jan 2006 22:14:46 +0000 (14:14 -0800)
commit5ff7630e4aa6c3969094dc30ff1cdaa6f52b0ed0
treea7905ac237dae4d9cf9f155a0aea33d904f67e96
parentb461d2f2188c1c578ed651e4cdf608be7a993cd4
[NETROM]: Remove unessecary lock_sock calls in netrom_ioctl()

lock_sock is needed only in very few cases, so do it there instead of
around the switch statement.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netrom/af_netrom.c