2.6.32-rc8: pohmelfs: NULL pointer dereference

From: Alexander Beregalov
Date: Tue Dec 01 2009 - 20:11:59 EST


Hi

BUG: unable to handle kernel NULL pointer dereference at 000000b8
IP: [<c10a96f9>] bdi_queue_work+0x9/0xa0

[<c10a97e6>] ? sync_inodes_sb+0x46/0x120
[<c13cbafd>] ? printk+0x18/0x1b
[<f840d8cb>] ? pohmelfs_kill_super+0xb/0x20 [pohmelfs]
[<c1090b8a>] ? deactivate_locked_super+0x4a/0x70
[<c1090ccf>] ? get_sb_nodev+0x6f/0x80
[<f840d8fc>] ? pohmelfs_get_sb+0x1c/0x20 [pohmelfs]
[<f840e120>] ? pohmelfs_fill_super+0x0/0x530 [pohmelfs]
[<c108fe50>] ? vfs_kern_mount+0x40/0xd0


The problem is that pohmelfs_fill_super() does not set sb->s_bdi.
Behavior was changed by
b6e51316da writeback: separate starting of sync vs opportunistic writeback
d8a8559cd7 writeback: get rid of generic_sync_sb_inodes() export
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/