]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: Don't clear GBF_FULL flags in rs_deltree
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 6 Oct 2020 13:16:16 +0000 (15:16 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 18 Jan 2021 15:56:37 +0000 (16:56 +0100)
commit0f60572bb288b91f99fb4fad4a53bdf1d6cf4696
tree6301252710918556202fa3ddd5c483a50834f4ac
parentf132cecbdadcfcc23b562fb8d1706b3af1d32357
gfs2: Don't clear GBF_FULL flags in rs_deltree

Removing a reservation doesn't make any actual space available, so don't clear
the GBF_FULL flags in that case.  Otherwise, we'll only spend more time
scanning the bitmaps unnecessarily.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/rgrp.c