]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
framebuffer compat_ioctl deadlock
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 29 Oct 2008 21:01:17 +0000 (14:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 30 Oct 2008 18:38:47 +0000 (11:38 -0700)
commit120a37470c2831fea49fdebaceb5a7039f700ce6
tree66ecbbda7026f185bae8ab6a6cf3a692c721a2e3
parent51b7616e36fbad93d7ba9e41f11fb57143d11252
framebuffer compat_ioctl deadlock

Fix deadlock in fb_compat_ioctl.  fb_compat_ioctl acquires a mutex and
calls fb_ioctl that tries to acquire that mutex too.  A regression added
during BKL removal.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/fbmem.c