Revision f8201abcb2badce7eaa6a3715f9a228cfd88a453 authored by Ingo Molnar on 07 April 2009, 06:16:50 UTC, committed by Linus Torvalds on 07 April 2009, 14:39:59 UTC
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>
1 parent 4ef4327
History
File Mode Size
integrity
keys
selinux
smack
tomoyo
Kconfig -rw-r--r-- 4.7 KB
Makefile -rw-r--r-- 809 bytes
capability.c -rw-r--r-- 23.1 KB
commoncap.c -rw-r--r-- 26.0 KB
device_cgroup.c -rw-r--r-- 11.7 KB
inode.c -rw-r--r-- 8.8 KB
root_plug.c -rw-r--r-- 2.7 KB
security.c -rw-r--r-- 31.2 KB

back to top