summaryrefslogtreecommitdiffstats
path: root/scripts/gfp-translate
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2010-11-24 21:57:15 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-11-24 22:50:48 +0100
commitda905873effecd1c0166e578bc4b5006f041b18b (patch)
treeba6e699a028ce1e0625a01a3e6f82d83dad04aca /scripts/gfp-translate
parentbacklight: grab ops_lock before testing bd->ops (diff)
downloadlinux-da905873effecd1c0166e578bc4b5006f041b18b.tar.xz
linux-da905873effecd1c0166e578bc4b5006f041b18b.zip
reiserfs: fix inode mutex - reiserfs lock misordering
reiserfs_unpack() locks the inode mutex with reiserfs_mutex_lock_safe() to protect against reiserfs lock dependency. However this protection requires to have the reiserfs lock to be locked. This is the case if reiserfs_unpack() is called by reiserfs_ioctl but not from reiserfs_quota_on() when it tries to unpack tails of quota files. Fix the ordering of the two locks in reiserfs_unpack() to fix this issue. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Reported-by: Markus Gapp <markus.gapp@gmx.net> Reported-by: Jan Kara <jack@suse.cz> Cc: Jeff Mahoney <jeffm@suse.com> Cc: <stable@kernel.org> [2.6.36.x] Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/gfp-translate')
0 files changed, 0 insertions, 0 deletions