linux/net/9p
Anthony Liguori dea7bbb603 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>
2008-02-06 19:25:04 -06:00
..
client.c 9p: block-based virtio client 2008-02-06 19:25:58 -06:00
conv.c [NET] 9p: kill dead static inline buf_put_string 2008-01-31 19:27:05 -08:00
error.c 9p: Reorganization of 9p file system code 2007-07-14 15:13:40 -05:00
fcprint.c 9p: Reorganization of 9p file system code 2007-07-14 15:13:40 -05:00
Kconfig 9p: add virtio transport 2007-10-23 13:47:31 -05:00
Makefile 9p: add virtio transport 2007-10-23 13:47:31 -05:00
mod.c 9p: return NULL when trans not found 2007-11-06 08:02:53 -06:00
mux.c [9P]: Fix missing unlock before return in p9_mux_poll_start 2007-10-23 21:27:54 -07:00
trans_fd.c 9p: add missing end-of-options record for trans_fd 2007-11-06 08:02:53 -06:00
trans_virtio.c 9p: block-based virtio client 2008-02-06 19:25:58 -06:00
util.c 9p: Convert semaphore to spinlock for p9_idpool 2008-02-06 19:25:04 -06:00