From: Christoph Hellwig Date: Fri, 1 Oct 2010 03:41:27 +0000 (+0200) Subject: hfsplus: fix BKL leak in hfsplus_ioctl X-Git-Tag: v2.6.37-rc1~222^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=249e6353001e407edf5c9a74482ecfca90c8ff33;p=pandora-kernel.git hfsplus: fix BKL leak in hfsplus_ioctl Currenly the HFSPLUS_IOC_EXT2_GETFLAGS case never unlocks the BKL, which can lead to easily reproduced lockups when doing multiple GETFLAGS ioctls. Fix this by only taking the BKL for the HFSPLUS_IOC_EXT2_SETFLAGS case as neither HFSPLUS_IOC_EXT2_GETFLAGS not the default error case needs it. Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed