From: Bob Peterson Date: Tue, 28 Aug 2012 12:45:56 +0000 (-0400) Subject: GFS2: Stop block extents at the end of bitmaps X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~108^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0688a5ecea61a36ba12d17a18ab9f8712145cfa2;p=pandora-kernel.git 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: [] gfs2_alloc_blocks+0x2c8/0x880 [gfs2] With this patch, things run normally. Signed-off-by: Bob Peterson Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed