From: Eric Sesterhenn Date: Sun, 19 Oct 2008 03:28:02 +0000 (-0700) Subject: hfsplus: fix possible deadlock when handling corrupted extents X-Git-Tag: v2.6.28-rc1~155 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=248736c2a57206388c86f8cdd3392ee986e84f9f;p=pandora-kernel.git hfsplus: fix possible deadlock when handling corrupted extents A corrupted extent for the extent file itself may try to get an impossible extent, causing a deadlock if I see it correctly. Check the inode number after the first_blocks checks and fail if it's the extent file, as according to the spec the extent file should have no extent for itself. Signed-off-by: Eric Sesterhenn Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed