OpenCloudOS-Kernel/fs/ramfs
Ingo Molnar f8201abcb2 ramfs: fix double freeing s_fs_info on failed mount
If ramfs mount fails, s_fs_info will be freed twice in ramfs_fill_super()
and ramfs_kill_sb(), leading to kernel oops.

Consolidate and beautify the code.
Make sure s_fs_info and s_root are in known good states.

Acked-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-07 07:39:59 -07:00
..
Makefile Remove valueless definition of hard-selected RAMFS option 2007-10-17 08:42:56 -07:00
file-mmu.c ramfs: enable splice write 2008-07-04 09:52:14 +02:00
file-nommu.c ramfs-nommu: use generic lru cache 2009-04-01 08:59:15 -07:00
inode.c ramfs: fix double freeing s_fs_info on failed mount 2009-04-07 07:39:59 -07:00
internal.h fs/ramfs/ extern cleanup 2008-04-29 08:06:00 -07:00