commit | 65b4fe553bf43018c06740f3d1f6caf42cf95924 | [log] [tgz] |
---|---|---|
author | Pete Zaitcev <zaitcev@redhat.com> | Wed Dec 28 14:22:17 2005 -0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Jan 31 17:23:36 2006 -0800 |
tree | 54a95a1a762501307f0b764612eb6b68894c9eb6 | |
parent | b6daf7f50836c8ed12d8b0ec0113e415f04e8530 [diff] |
[PATCH] USB: ub 03 Oops with CFQ The blk_cleanup_queue does not necesserily destroy the queue. When we destroy the corresponding ub_dev, it may leave the queue spinlock pointer dangling. This patch moves spinlocks from ub_dev to static memory. The locking scheme is not changed. These spinlocks are still separate from the ub_lock. Signed-off-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>