summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2012-08-28 08:45:56 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2012-09-24 10:47:23 +0100
commit0688a5ecea61a36ba12d17a18ab9f8712145cfa2 (patch)
treea33dcb7283fc30e334b4d9c2ba7b9f3513d0eedd /fs/gfs2/incore.h
parentc743ffd09fa7d3464c6f74767a3ae2ca5dc3ebf7 (diff)
downloadop-kernel-dev-0688a5ecea61a36ba12d17a18ab9f8712145cfa2.zip
op-kernel-dev-0688a5ecea61a36ba12d17a18ab9f8712145cfa2.tar.gz
GFS2: Stop block extents at the end of bitmaps
This patch stops multiple block allocations if a nonzero return code is received from gfs2_rbm_from_block. Without this patch, if enough pressure is put on the file system, you get a kernel warning quickly followed by: BUG: unable to handle kernel NULL pointer dereference at (null) IP: [<ffffffffa04f47e8>] gfs2_alloc_blocks+0x2c8/0x880 [gfs2] With this patch, things run normally. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud