From: Eric Sandeen Date: Wed, 6 Feb 2008 09:37:10 +0000 (-0800) Subject: address hfs on-disk corruption robustness review comments X-Git-Tag: v2.6.25-rc1~719 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55581d018ed3493d226e7a4d645d9c8a5af6c36b;p=pandora-kernel.git address hfs on-disk corruption robustness review comments Address Roman's review comments for the previously sent on-disk corruption hfs robustness patch. - use 0 as a failure value, rather than making a new macro HFS_BAD_KEYLEN, and use a switch statement instead of if's. - Add new fail: target to __hfs_brec_find to skip assignments using bad values when exiting with a failure. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Eric Sandeen Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed