Re: [PATCH] hfsplus: don't oops on bad FS

From: Roman Zippel
Date: Mon Apr 25 2005 - 14:59:50 EST


On Mon, 25 Apr 2005, Colin Leroy wrote:

> currently trying to mount a non-hfsplus filesystem as hfsplus results
> in an oops, as seen on
> This patch fixes it; while at it, it frees sbi on error instead of
> leaking it.

Actually it looks like we are always leaking it, so actually
hfsplus_put_super() needs fixing, could you add the check and kfree
there and do the same fix for hfs?

bye, Roman
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at