fs: ubifs: remove not needed code
This patch aggressively removes stuff that we do not need in a readonly
implementation:

- write buffering support
- lpt/ltab code
- garbage collector
- everything under #ifndef __BAREBOX__

This decreases the binary size by about 5k on ARM, but the main reason
for doing this is the idea that things that are not there don't need to
be synced with upstream ubifs code.
The __BAREBOX__ ifdeffery makes the code very hard to read and is a
maintenance burden by itself, so it is removed here aswell.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 3519757 commit d4b75d34fc40268535432ec65ae6d0ecb6551453
@Sascha Hauer Sascha Hauer authored on 28 Sep 2018
Showing 23 changed files
View
fs/ubifs/Makefile
View
fs/ubifs/budget.c 100644 → 0
View
fs/ubifs/debug.c
Too large (Show diff)
View
fs/ubifs/debug.h
View
fs/ubifs/gc.c 100644 → 0
View
fs/ubifs/io.c
View
fs/ubifs/log.c
View
fs/ubifs/lprops.c 100644 → 0
Too large (Show diff)
View
fs/ubifs/lpt.c 100644 → 0
Too large (Show diff)
View
fs/ubifs/lpt_commit.c
Too large (Show diff)
View
fs/ubifs/master.c
View
fs/ubifs/misc.h
View
fs/ubifs/orphan.c 100644 → 0
View
fs/ubifs/recovery.c
View
fs/ubifs/replay.c
View
fs/ubifs/sb.c
View
fs/ubifs/scan.c
View
fs/ubifs/super.c
Too large (Show diff)
View
fs/ubifs/tnc.c
Too large (Show diff)
View
fs/ubifs/tnc_misc.c
View
fs/ubifs/ubifs-media.h
View
fs/ubifs/ubifs.c
View
fs/ubifs/ubifs.h