Files
linux-legacy/drivers
Thomas Gleixner ccd366ff9f devtmpfs: Convert dirlock to a mutex
devtmpfs has a rw_lock dirlock which serializes delete_path and
create_path.

This code was obviously never tested with the usual set of debugging
facilities enabled. In the dirlock held sections the code calls:

 - vfs functions which take mutexes
 - kmalloc(, GFP_KERNEL)

In both code pathes the might sleep warning triggers and spams dmesg.

Convert the rw_lock to a mutex. There is no reason why this needs to
be a rwlock.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-27 16:49:59 -05:00
..
2010-08-19 17:40:23 -05:00
2010-08-27 16:49:59 -05:00
2009-08-15 12:58:45 +09:00
2009-07-12 12:22:34 -07:00
2009-12-18 13:43:50 -08:00
2010-08-20 10:35:55 -05:00
2010-08-25 20:09:35 -05:00
2009-12-18 13:43:30 -08:00
2010-08-24 13:14:49 -05:00
2009-07-12 12:22:34 -07:00
2010-08-14 12:35:09 -05:00