OpenCloudOS-Kernel/fs/affs
Fabian Frederick d353efd023 fs/affs/super.c: bugfix / double free
Commit 842a859db2 ("affs: use ->kill_sb() to simplify ->put_super()
and failure exits of ->mount()") adds .kill_sb which frees sbi but
doesn't remove sbi free in case of parse_options error causing double
free+random crash.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: <stable@vger.kernel.org>	[3.14.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-05-06 13:05:00 -07:00
..
Changes remove obsolete references to powertweak 2013-11-27 20:34:32 -08:00
Kconfig fs/affs: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:39:04 -08:00
Makefile fs: change to new flag variable 2011-03-17 14:02:57 +01:00
affs.h affs: add mount option to avoid filename truncates 2014-04-07 16:36:08 -07:00
amigaffs.c affs: add mount option to avoid filename truncates 2014-04-07 16:36:08 -07:00
bitmap.c affs: use memweight() 2012-07-30 17:25:16 -07:00
dir.c fs/affs/dir.c: unlock/brelse dir on failure + code clean-up 2014-04-07 16:36:08 -07:00
file.c truncate: drop 'oldsize' truncate_pagecache() parameter 2013-09-12 15:38:02 -07:00
inode.c mm + fs: store shadow entries in page cache 2014-04-03 16:21:01 -07:00
namei.c affs: add mount option to avoid filename truncates 2014-04-07 16:36:08 -07:00
super.c fs/affs/super.c: bugfix / double free 2014-05-06 13:05:00 -07:00
symlink.c Fix remount races with symlink handling in affs 2010-01-26 22:22:24 -05:00