linux/fs/ubifs
hujianyang 25601a3c97 UBIFS: Add log overlap assertions
We use a circle area to record the log nodes in ubifs. This log area
should not be overlapped. But after researching the code, I found
some conditions may lead log head wraps log ltail. Although we've
fixed the problems discovered, there may be some other issues still
left.

This patch adds assertions where lhead changes to next leb to make
sure ltail is not wrapped.

Signed-off-by: hujianyang <hujianyang@huawei.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
2014-07-31 15:52:51 +03:00
..
budget.c
commit.c UBIFS: remove mst_mutex 2014-07-19 09:53:52 +03:00
compress.c
debug.c
debug.h
dir.c
file.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2014-06-12 10:30:18 -07:00
find.c
gc.c
io.c UBIFS: kernel-doc warning fix 2014-07-19 09:53:52 +03:00
ioctl.c
journal.c
Kconfig
key.h
log.c UBIFS: Add log overlap assertions 2014-07-31 15:52:51 +03:00
lprops.c
lpt_commit.c UBIFS: remove useless statements 2014-07-19 09:53:51 +03:00
lpt.c UBIFS: remove useless statements 2014-07-19 09:53:51 +03:00
Makefile
master.c UBIFS: remove mst_mutex 2014-07-19 09:53:52 +03:00
misc.h Revert "UBIFS: add a log overlap assertion" 2014-07-28 19:15:19 +03:00
orphan.c UBIFS: remove useless statements 2014-07-19 09:53:51 +03:00
recovery.c UBIFS: kernel-doc warning fix 2014-07-19 09:53:52 +03:00
replay.c
sb.c UBIFS: fix error path in create_default_filesystem() 2014-07-19 09:53:52 +03:00
scan.c UBIFS: fix spelling of "scanned" 2014-07-19 09:53:51 +03:00
shrinker.c UBIFS: Remove incorrect assertion in shrink_tnc() 2014-06-02 11:28:24 +03:00
super.c UBIFS: remove mst_mutex 2014-07-19 09:53:52 +03:00
tnc_commit.c UBIFS: remove useless statements 2014-07-19 09:53:51 +03:00
tnc_misc.c
tnc.c UBIFS: remove useless statements 2014-07-19 09:53:51 +03:00
ubifs-media.h
ubifs.h UBIFS: remove mst_mutex 2014-07-19 09:53:52 +03:00
xattr.c