Re: [RFC PATCH V3 1/2] null_blk: Null pointer deference problem in alloc_page_buffers

2014-01-21 Thread Jens Axboe
On Tue, Jan 21 2014, Raghavendra K T wrote: > If we load the null_blk module with bs=8k we get following oops: > [ 3819.812190] BUG: unable to handle kernel NULL pointer dereference at > 0008 > [ 3819.812387] IP: [] create_empty_buffers+0x28/0xaf > [ 3819.812527] PGD 219244067 PUD 215

Re: [RFC PATCH V3 1/2] null_blk: Null pointer deference problem in alloc_page_buffers

2014-01-21 Thread Matias Bjorling
On 01/21/2014 03:29 AM, Raghavendra K T wrote: > If we load the null_blk module with bs=8k we get following oops: > [ 3819.812190] BUG: unable to handle kernel NULL pointer dereference at > 0008 > [ 3819.812387] IP: [] create_empty_buffers+0x28/0xaf > [ 3819.812527] PGD 219244067 PUD

[RFC PATCH V3 1/2] null_blk: Null pointer deference problem in alloc_page_buffers

2014-01-21 Thread Raghavendra K T
If we load the null_blk module with bs=8k we get following oops: [ 3819.812190] BUG: unable to handle kernel NULL pointer dereference at 0008 [ 3819.812387] IP: [] create_empty_buffers+0x28/0xaf [ 3819.812527] PGD 219244067 PUD 215a06067 PMD 0 [ 3819.812640] Oops: [#1] SMP [ 3819