Commit 22f63f9b authored by Andreas Gruenbacher's avatar Andreas Gruenbacher Committed by Greg Kroah-Hartman
Browse files

Revert "gfs2: Don't reject a supposedly full bitmap if we have blocks reserved"



[ Upstream commit 2fdc2fa2 ]

This reverts commit e79e0e14.

It turns out that we're only setting the GBF_FULL flag of a bitmap if we've
been scanning from the beginning of the bitmap until the end and we haven't
found a single free block, and we're not skipping reservations in that process,
either.  This means that in gfs2_rbm_find, we can always skip bitmaps with the
GBF_FULL flag set.

Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
Stable-dep-of: 8877243b ("gfs2: Fix kernel NULL pointer dereference in gfs2_rgrp_dump")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent cd48d2a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment