diff options
author | Bruno Prémont <bonbons@linux-vserver.org> | 2011-09-02 17:24:03 (GMT) |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-09-02 18:21:21 (GMT) |
commit | 4a47a0e09c504e3ce0ccdb405411aefc5b09deb8 (patch) | |
tree | 32e0067576ef3c70bceb8747b763744e21decf13 /fs/adfs/super.c | |
parent | 9e769ff3f585db8f978f9113be83d36c7e3965dd (diff) | |
download | linux-fsl-qoriq-4a47a0e09c504e3ce0ccdb405411aefc5b09deb8.tar.xz |
fb: sh-mobile: Fix deadlock risk between lock_fb_info() and console_lock()
Following on Herton's patch "fb: avoid possible deadlock caused by
fb_set_suspend" which moves lock_fb_info() out of fb_set_suspend()
to its callers, correct sh-mobile's locking around call to
fb_set_suspend() and the same sort of deaklocks with console_lock()
due to order of taking the lock.
console_lock() must be taken while fb_info is already locked and fb_info
must be locked while calling fb_set_suspend().
Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: stable@kernel.org
Diffstat (limited to 'fs/adfs/super.c')
0 files changed, 0 insertions, 0 deletions