diff options
author | Anthony Liguori <[email protected]> | 2008-02-06 19:25:04 -0600 |
---|---|---|
committer | Eric Van Hensbergen <[email protected]> | 2008-02-06 19:25:04 -0600 |
commit | dea7bbb603735ceceb07bb370eca17198faf7c8d (patch) | |
tree | 9792ffca08225d8b1b19c250c33dd2b74441698f /net/unix/sysctl_net_unix.c | |
parent | 14b8869ff4f00f105ea76678997b4d49d27baae3 (diff) |
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 <[email protected]>
Acked-by: Eric Van Hensbergen <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions