[PATCH] hfs, hfsplus: don't leak s_fs_info and fix an oops
commit945b092011c6af71a0107be96e119c8c08776f3f
authorColin Leroy <colin@colino.net>
Sun, 1 May 2005 15:59:16 +0000 (1 08:59 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 1 May 2005 15:59:16 +0000 (1 08:59 -0700)
tree7e0d6b79250aa2a5d0b51e9368e89b5f92cfe88e
parent954d3e95369cf73b4bc1e570729f68264a0e6fe0
[PATCH] hfs, hfsplus: don't leak s_fs_info and fix an oops

This patch fixes the leak of sb->s_fs_info in both the HFS and HFS+
modules.  In addition to this, it fixes an oops happening when trying to
mount a non-hfsplus filesystem using hfsplus.  This patch is from Roman
Zippel, based off patches sent by myself.

Signed-off-by: Colin Leroy <colin@colino.net>
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/hfs/mdb.c
fs/hfs/super.c
fs/hfsplus/super.c