]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5c6efd10325ad79ecf11b54a267f149566da9c03
treebd5dabca6cfd52a956742ef943de7b7dbdac30c8
parent3df0b888b9fd3c93662ea5c3768408f1a7b83271
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