aboutsummaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-12-16 16:31:33 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-23 14:23:42 -0500
commitf1f76f865b5f66db5b5c7f2d19874f2bb9b43b8d (patch)
tree39d051d6ad2c3560867c4553c93454f8972512bb /fs/super.c
parentf42ecb2808db5386f983d593a7c08d3ea3b94a27 (diff)
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>
Diffstat (limited to 'fs/super.c')
0 files changed, 0 insertions, 0 deletions