]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commita12c6fa1de8472f0eb56f7e5a60de2ffa4f6c043
tree6301252710918556202fa3ddd5c483a50834f4ac
parent2fdc2fa21bc72ec06c0c9f0e30b88fe1f2486b75
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