]> Git Repo - linux.git/commit
address hfs on-disk corruption robustness review comments
authorEric Sandeen <[email protected]>
Wed, 6 Feb 2008 09:37:10 +0000 (01:37 -0800)
committerLinus Torvalds <[email protected]>
Wed, 6 Feb 2008 18:41:05 +0000 (10:41 -0800)
commit55581d018ed3493d226e7a4d645d9c8a5af6c36b
treed687d90390073aeb0bda273b7b9f051a36f5d892
parent7c28cbaed6811260efc0134b984b924cd0ed46f5
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.

[[email protected]: coding-style fixes]
Signed-off-by: Eric Sandeen <[email protected]>
Cc: Roman Zippel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/hfs/bfind.c
fs/hfs/brec.c
fs/hfs/btree.c
fs/hfs/hfs.h
This page took 0.053096 seconds and 4 git commands to generate.