tmp_suning_uos_patched/fs/ubifs
Artem Bityutskiy af14a1ad79 UBIFS: fix available blocks count
Take into account that 2 eraseblocks are never available because
they are reserved for the index. This gives more realistic count
of FS blocks.

To avoid future confusions like this, introduce a constant.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-12-23 12:23:29 +02:00
..
budget.c UBIFS: fix available blocks count 2008-12-23 12:23:29 +02:00
commit.c UBIFS: separate debugging fields out 2008-12-03 13:14:33 +02:00
compress.c UBIFS: fix section mismatch 2008-12-04 17:53:10 +02:00
debug.c UBIFS: improve budgeting dump 2008-12-23 12:22:58 +02:00
debug.h UBIFS: introduce LPT dump function 2008-12-03 13:14:34 +02:00
dir.c UBIFS: fix compilation warnings 2008-11-06 11:06:31 +02:00
file.c UBIFS: use PAGE_CACHE_MASK correctly 2008-12-23 12:19:14 +02:00
find.c UBIFS: remove unneeded unlikely() 2008-09-30 11:12:55 +03:00
gc.c UBIFS: improve garbage collection 2008-09-30 11:12:59 +03:00
io.c UBIFS: check data CRC when in error state 2008-09-30 11:12:57 +03:00
ioctl.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
journal.c UBIFS: fix compilation warnings 2008-11-06 11:06:31 +02:00
Kconfig UBIFS: include to compilation 2008-07-15 17:35:24 +03:00
key.h UBIFS: avoid unnecessary checks 2008-12-03 13:14:11 +02:00
log.c UBIFS: increment commit number earlier 2008-08-13 11:27:47 +03:00
lprops.c UBIFS: various comment improvements and fixes 2008-12-23 12:23:08 +02:00
lpt_commit.c UBIFS: introduce LPT dump function 2008-12-03 13:14:34 +02:00
lpt.c UBIFS: introduce LPT dump function 2008-12-03 13:14:34 +02:00
Makefile UBIFS: include to compilation 2008-07-15 17:35:24 +03:00
master.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
misc.h UBIFS: inline one-line functions 2008-09-30 11:12:56 +03:00
orphan.c UBIFS: separate debugging fields out 2008-12-03 13:14:33 +02:00
recovery.c UBIFS: fix compilation warnings 2008-11-06 11:06:31 +02:00
replay.c UBIFS: fix compilation warnings 2008-11-06 11:06:31 +02:00
sb.c UBIFS: introduce compression mount options 2008-12-03 13:14:05 +02:00
scan.c UBIFS: add no_chk_data_crc mount option 2008-09-30 11:12:56 +03:00
shrinker.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
super.c UBIFS: fix available blocks count 2008-12-23 12:23:29 +02:00
tnc_commit.c UBIFS: separate debugging fields out 2008-12-03 13:14:33 +02:00
tnc_misc.c UBIFS: correct key comparison 2008-09-30 11:12:57 +03:00
tnc.c UBIFS: do not allocate too much 2008-11-21 18:59:25 +02:00
ubifs-media.h UBIFS: slight compression optimization 2008-12-03 13:13:50 +02:00
ubifs.h UBIFS: fix available blocks count 2008-12-23 12:23:29 +02:00
xattr.c UBIFS: remove unneeded unlikely() 2008-09-30 11:12:55 +03:00