kernel-fxtec-pro1x/fs/ubifs
Artem Bityutskiy f171d4d769 UBIFS: fix division by zero
If fanout is 3, we have division by zero in
'ubifs_read_superblock()':

divide error: 0000 [#1] PREEMPT SMP

Pid: 28744, comm: mount Not tainted (2.6.27-rc4-ubifs-2.6 #23)
EIP: 0060:[<f8f9e3ef>] EFLAGS: 00010202 CPU: 0
EIP is at ubifs_reported_space+0x2d/0x69 [ubifs]
EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000
ESI: 00000000 EDI: f0ae64b0 EBP: f1f9fcf4 ESP: f1f9fce0
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-09-05 20:01:59 +03:00
..
budget.c UBIFS: fix division by zero 2008-09-05 20:01:59 +03:00
commit.c UBIFS: increment commit number earlier 2008-08-13 11:27:47 +03:00
compress.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
debug.c UBIFS: print pid in dump function 2008-08-13 11:35:58 +03:00
debug.h UBIFS: improve arguments checking in debugging messages 2008-08-13 11:42:47 +03:00
dir.c UBIFS: fix zero-length truncations 2008-08-21 16:48:52 +03:00
file.c UBIFS: fix zero-length truncations 2008-08-21 16:48:52 +03:00
find.c UBIFS: add forgotten gc_idx_lebs component 2008-08-31 17:21:31 +03:00
gc.c UBIFS: allow for racing between GC and TNC 2008-08-25 14:34:02 +03:00
io.c UBIFS: make ubifs_ro_mode() not inline 2008-08-13 11:24:26 +03:00
ioctl.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
journal.c UBIFS: xattr bugfixes 2008-08-14 12:46:20 +03:00
Kconfig UBIFS: include to compilation 2008-07-15 17:35:24 +03:00
key.h UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
log.c UBIFS: increment commit number earlier 2008-08-13 11:27:47 +03:00
lprops.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
lpt.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
lpt_commit.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03: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: improve statfs reporting 2008-08-31 17:20:26 +03:00
orphan.c UBIFS: increment commit number earlier 2008-08-13 11:27:47 +03:00
recovery.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
replay.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
sb.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
scan.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
shrinker.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
super.c UBIFS: amend f_fsid 2008-09-03 14:56:22 +03:00
tnc.c UBIFS: allow for racing between GC and TNC 2008-08-25 14:34:02 +03:00
tnc_commit.c UBIFS: minor tweaks in commit 2008-08-13 11:38:19 +03:00
tnc_misc.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
ubifs-media.h UBIFS: reserve more space for index 2008-08-13 11:37:28 +03:00
ubifs.h UBIFS: improve statfs reporting even more 2008-08-31 17:21:51 +03:00
xattr.c UBIFS: xattr bugfixes 2008-08-14 12:46:20 +03:00