OpenCloudOS-Kernel/fs/logfs
Linus Torvalds cce2c56e76 logfs: initialize superblock entries earlier
In particular, s_freeing_list needs to be initialized early, since it is
used on some of the error paths when mounts fail.  The mapping inode,
for example, would be initialized and then free'd on an error path
before s_freeing_list was initialized, but the inode drop operation
needs the s_freeing_list to be set up.

Normally you'd never see this, because not only is logfs fairly rare,
but a successful mount will never have any issues.

Reported-by: werner <w.landgraf@ru.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-05-03 16:10:25 -07:00
..
Kconfig [LogFS] add new flash file system 2009-11-20 20:13:39 +01:00
Makefile [LogFS] add new flash file system 2009-11-20 20:13:39 +01:00
compr.c zlib: slim down zlib_deflate() workspace when possible 2011-03-22 17:44:17 -07:00
dev_bdev.c block: remove per-queue plugging 2011-03-10 08:52:07 +01:00
dev_mtd.c Fix common misspellings 2011-03-31 11:26:23 -03:00
dir.c Fix common misspellings 2011-03-31 11:26:23 -03:00
file.c userns: rename is_owner_or_cap to inode_owner_or_capable 2011-03-23 19:47:13 -07:00
gc.c logfs: handle powerfail on NAND flash 2010-05-07 19:38:40 +02:00
inode.c fs: remove inode_lock from iput_final and prune_icache 2011-03-24 21:16:32 -04:00
journal.c logfs: fix deadlock in logfs_get_wblocks, hold and wait on super->s_write_mutex 2010-12-22 19:43:33 -08:00
logfs.h fs: logfs: Fix up MTD=y build. 2010-11-01 16:34:56 -04:00
logfs_abi.h fix "seperate" typos in comments 2010-05-10 11:56:30 +02:00
readwrite.c Fix common misspellings 2011-03-31 11:26:23 -03:00
segment.c logfs: get rid of magical inodes 2010-08-09 16:48:26 -04:00
super.c logfs: initialize superblock entries earlier 2011-05-03 16:10:25 -07:00