Adrian Hunter
727d2dc045
UBIFS: do not read unnecessary bytes when unpacking bits
...
Fixes the following Oops:
BUG: unable to handle kernel paging request at f8d24000
IP: [<f8ff0657>] :ubifs:ubifs_unpack_bits+0xcd/0x231
*pde = 34333067 *pte = 00000000
Oops: 0000 [#1 ] PREEMPT SMP
Modules linked in: deflate zlib_deflate lzo lzo_decompress lzo_compress
ubifs ubi nandsim nand nand_ids nand_ecc mtd nfsd lockd sunrpc exportfs
[last unloaded: nand_ecc]
Pid: 7450, comm: sync Not tainted (2.6.27-rc8-ubifs-2.6 #27 )
EIP: 0060:[<f8ff0657>] EFLAGS: 00010206 CPU: 0
EIP is at ubifs_unpack_bits+0xcd/0x231 [ubifs]
EAX: 00000000 EBX: 00000000 ECX: d7e43dc0 EDX: 0000ff00
ESI: 00000004 EDI: f8d23ffe EBP: d7e43db4 ESP: d7e43d8c
DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process sync (pid: 7450, ti=d7e42000 task=eb6f9530 task.ti=d7e42000)
Stack: 00000400 c0103db4 dc5e8090 d7e43dc0 d7e43dc0 d7e43dc4 0000001c 00000004
f496d1e0 f8d23ffc d7e43dd4 f8ffac7e f8d23ffe 00000000 f8d23ffe f2b7af68
f496d1e0 f8d23ffc d7e43e2c f8ffadc5 00000000 0001f000 00000000 c03b10a7
Call Trace:
[<c0103db4>] ? restore_nocheck_notrace+0x0/0xe
[<f8ffac7e>] ? is_a_node+0x43/0x92 [ubifs]
[<f8ffadc5>] ? dbg_check_ltab+0xf8/0x5c9 [ubifs]
[<c03b10a7>] ? mutex_lock_nested+0x1b2/0x2a0
[<f8ffc86e>] ? ubifs_lpt_start_commit+0x49/0xecb [ubifs]
[<c03b0ef3>] ? mutex_unlock+0xd/0xf
[<f8fef017>] ? ubifs_tnc_start_commit+0x1cf/0xef8 [ubifs]
[<f8fe65d8>] ? do_commit+0x18f/0x52d [ubifs]
[<f8fe69f6>] ? ubifs_run_commit+0x80/0xca [ubifs]
[<f8fd8d35>] ? ubifs_sync_fs+0xdb/0xf6 [ubifs]
[<c0181a07>] ? sync_filesystems+0xc6/0x10c
[<c019f279>] ? do_sync+0x3b/0x6a
[<c019f2ba>] ? sys_sync+0x12/0x18
[<c0103ced>] ? sysenter_do_call+0x12/0x35
=======================
Code: 4d ec 89 01 8b 45 e8 89 10 89 d8 89 f1 d3 e8 85 c0 74 07 29 d6 83 fe
20 75 2a 89 d8 83 c4 1c 5b 5e 5f 5d c3 0f b6 57 01 c1 e2 08 <0f> b6 47 02
c1 e0 10 09 c2 0f b6 07 09 c2 0f b
EIP: [<f8ff0657>] ubifs_unpack_bits+0xcd/0x231 [ubifs] SS:ESP 0068:d7e43d8c
---[ end trace 1bbb4c407a6dd816 ]---
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
2008-10-19 13:01:21 +03:00
..
2008-09-24 16:22:22 -05:00
2008-08-25 01:18:09 -04:00
2008-08-25 01:18:09 -04:00
2008-08-04 21:31:34 -07:00
2008-02-08 09:22:40 -08:00
2008-08-25 01:18:09 -04:00
2008-08-25 01:18:09 -04:00
2008-09-13 14:41:51 -07:00
2008-08-28 15:32:22 +00:00
2008-07-26 20:53:34 -04:00
2008-08-22 11:09:02 -07:00
2008-08-20 15:40:32 -07:00
2008-07-21 21:54:59 -07:00
2008-08-01 11:25:29 -04:00
2008-08-13 12:47:36 -05:00
2008-07-28 16:30:21 -07:00
2008-08-25 01:18:04 -04:00
2008-04-30 08:29:54 -07:00
2008-07-28 16:30:21 -07:00
2008-08-01 11:25:25 -04:00
2008-08-19 21:14:52 -04:00
2008-08-20 08:31:19 -07:00
2008-04-29 08:06:00 -07:00
2008-07-26 20:53:21 -04:00
2008-07-26 20:53:36 -04:00
2008-07-26 20:53:40 -04:00
2008-07-26 20:53:40 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 20:53:13 -04:00
2008-07-26 20:53:07 -04:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:07 -07:00
2008-08-12 00:11:49 +02:00
2008-08-12 00:11:49 +02:00
2008-08-23 12:14:12 -07:00
2008-07-26 20:53:14 -04:00
2008-08-12 16:39:22 -07:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:34 -07:00
2008-07-26 20:53:37 -04:00
2008-09-08 15:35:19 -07:00
2008-09-01 14:24:24 -04:00
2008-09-02 19:21:37 -07:00
2008-09-10 01:44:08 -07:00
2008-08-15 08:35:44 -07:00
2008-07-26 12:00:07 -07:00
2008-09-13 14:41:52 -07:00
2008-09-13 14:41:51 -07:00
2008-07-26 12:00:07 -07:00
2008-07-04 09:52:14 +02:00
2008-08-12 16:07:30 -07:00
2008-07-30 14:30:34 -07:00
2008-07-26 20:53:14 -04:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:07 -07:00
2008-10-19 13:01:21 +03:00
2008-09-08 20:31:04 +02:00
2008-08-04 16:50:38 -07:00
2008-07-25 10:53:34 -07:00
2008-09-26 12:17:57 +10:00
2008-07-26 20:53:40 -04:00
2008-07-24 10:47:28 -07:00
2008-07-26 20:53:28 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 12:00:08 -07:00
2008-07-28 18:10:28 +09:00
2008-07-26 12:00:08 -07:00
2008-04-29 08:06:04 -07:00
2008-08-11 20:17:55 +09:00
2008-08-20 15:40:31 -07:00
2008-04-29 08:06:04 -07:00
2008-07-26 12:00:08 -07:00
2008-07-28 16:30:21 -07:00
2008-08-27 09:50:19 +02:00
2008-08-01 11:25:31 -04:00
2008-08-27 09:50:19 +02:00
2008-06-20 14:05:53 -06:00
2008-01-30 13:31:46 +01:00
2008-07-25 10:53:34 -07:00
2008-08-25 01:18:08 -04:00
2008-09-29 07:42:57 -07:00
2008-02-14 21:17:09 -08:00
2008-07-26 12:00:06 -07:00
2008-05-01 13:08:16 -04:00
2008-08-01 11:25:25 -04:00
2008-04-29 08:06:05 -07:00
2008-07-24 10:47:29 -07:00
2008-08-12 16:07:30 -07:00
2008-09-29 08:41:47 -07:00
2008-08-01 11:25:24 -04:00
2008-07-26 20:53:06 -04:00
2008-07-26 20:53:40 -04:00
2008-08-01 11:25:23 -04:00
2008-07-14 19:10:52 +03:00
2008-08-15 08:35:44 -07:00
2008-07-26 20:53:34 -04:00
2008-02-06 10:41:07 -08:00
2008-04-21 23:11:01 -04:00
2008-04-29 08:06:00 -07:00
2008-08-20 15:40:32 -07:00
2008-08-26 18:32:28 +00:00
2008-07-28 18:10:28 +09:00
2008-07-30 09:41:44 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:05 -07:00
2008-04-15 19:35:41 -07:00
2008-07-11 19:27:31 -04:00
2008-08-01 11:25:30 -04:00
2008-08-01 11:25:32 -04:00
2008-02-14 21:13:33 -08:00
2008-08-01 11:25:23 -04:00
2008-07-26 20:53:06 -04:00
2008-04-23 00:05:09 -04:00
2008-04-23 00:05:09 -04:00
2008-07-25 10:53:35 -07:00
2008-07-25 10:53:35 -07:00
2008-07-25 10:53:35 -07:00
2008-07-02 15:06:27 -06:00
2008-08-25 01:18:08 -04:00
2008-06-22 12:23:15 -07:00
2008-08-25 01:18:10 -04:00
2008-07-24 10:47:29 -07:00
2008-08-04 21:31:34 -07:00
2008-07-26 20:53:34 -04:00
2008-07-24 10:47:15 -07:00
2008-07-24 10:47:17 -07:00
2008-07-24 10:47:29 -07:00
2008-07-26 20:53:34 -04:00
2008-07-26 20:53:34 -04:00