summaryrefslogtreecommitdiffstats
path: root/net/netlink
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2008-02-07 02:25:04 +0100
committerEric Van Hensbergen <ericvh@opteron.homeip.net>2008-02-07 02:25:04 +0100
commitdea7bbb603735ceceb07bb370eca17198faf7c8d (patch)
tree9792ffca08225d8b1b19c250c33dd2b74441698f /net/netlink
parent9p: fix mmap to be read-only (diff)
downloadlinux-dea7bbb603735ceceb07bb370eca17198faf7c8d.tar.xz
linux-dea7bbb603735ceceb07bb370eca17198faf7c8d.zip
9p: Convert semaphore to spinlock for p9_idpool
When booting from v9fs, down_interruptible in p9_idpool_get() triggered a BUG as it was being called with IRQs disabled. A spinlock seems like the right thing to be using since the idr functions go out of their way not to sleep. This patch eliminates the BUG by converting the semaphore to a spinlock. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Acked-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions