OSDN Git Service

gfs2: Fix marking bitmaps non-full
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 27 Sep 2018 14:30:25 +0000 (15:30 +0100)
committerBob Peterson <rpeterso@redhat.com>
Fri, 12 Oct 2018 12:31:55 +0000 (07:31 -0500)
commitec23df2b0cf3e1620f5db77972b7fb735f267eff
tree42843f4562fc8d05e07840240e659909f4ae324e
parent243fea4df910ca1463a1114321823082b5440991
gfs2: Fix marking bitmaps non-full

Reservations in gfs can span multiple gfs2_bitmaps (but they won't span
multiple resource groups).  When removing a reservation, we want to
clear the GBF_FULL flags of all involved gfs2_bitmaps, not just that of
the first bitmap.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Reviewed-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/rgrp.c