gfs2: call truncate_inode_pages_final for address space glocks
authorBob Peterson <rpeterso@redhat.com>
Wed, 16 Sep 2020 16:06:23 +0000 (11:06 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 14 Oct 2020 21:54:42 +0000 (23:54 +0200)
commitee1e2c773e4f4ce2213f9d77cc703b669ca6fa3f
treebd5dabca6cfd52a956742ef943de7b7dbdac30c8
parent0a0d9f55c211d7a03b8ec5ad2d8f5b3062b4387c
gfs2: call truncate_inode_pages_final for address space glocks

Before this patch, we were not calling truncate_inode_pages_final for the
address space for glocks, which left the possibility of a leak. We now
take care of the problem instead of complaining, and we do it during
glock tear-down..

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/glock.c