alistair23-linux/fs/ubifs
Artem Bityutskiy 5b7a3a2e1b UBIFS: do not write rubbish into truncation scanning node
In the scanning code, in 'ubifs_add_snod()', we write rubbish into
'snod->key', because we assume that on-flash truncation nodes have a key, but
they do not. If the other parts of UBIFS then mistakenly try to look-up
the truncation node key (they should not do this, but may do because of a bug),
we can succeed and corrupt TNC. It looks like we did have such a situation in
'sort_nodes()' in gc.c.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2010-08-30 10:19:08 +03:00
..
budget.c writeback: enforce s_umount locking in writeback_inodes_sb 2010-06-11 12:58:07 +02:00
commit.c
compress.c
debug.c
debug.h
dir.c
file.c check ATTR_SIZE contraints in inode_change_ok 2010-08-09 16:47:39 -04:00
find.c
gc.c UBIFS: improve assertion in node comparison functions 2010-08-30 10:19:07 +03:00
io.c
ioctl.c
journal.c
Kconfig
key.h
log.c
lprops.c
lpt.c UBIFS: use ERR_CAST 2010-06-12 14:46:15 +03:00
lpt_commit.c UBIFS: use ERR_CAST 2010-06-12 14:46:15 +03:00
Makefile
master.c
misc.h
orphan.c
recovery.c UBIFS: fix GC LEB recovery 2010-07-13 06:51:57 +03:00
replay.c
sb.c
scan.c UBIFS: do not write rubbish into truncation scanning node 2010-08-30 10:19:08 +03:00
shrinker.c mm: add context argument to shrinker callback 2010-07-19 14:56:17 +10:00
super.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 2010-08-10 11:26:52 -07:00
tnc.c
tnc_commit.c
tnc_misc.c
ubifs-media.h
ubifs.h check ATTR_SIZE contraints in inode_change_ok 2010-08-09 16:47:39 -04:00
xattr.c