]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: further simplify gfs2_evict_inode with new func evict_should_delete
authorBob Peterson <rpeterso@redhat.com>
Fri, 11 Sep 2020 15:30:26 +0000 (10:30 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 14 Oct 2020 21:54:42 +0000 (23:54 +0200)
commitcb49e4243009d4081c2afb1b24898d2c1ffa0afb
tree69f4cb9f1ae56ef0a6073d55cb7b09a2b18c78c5
parentb64cda98c70b2da7cf01099978b49e260fe8d33c
gfs2: further simplify gfs2_evict_inode with new func evict_should_delete

This patch further simplifies function gfs2_evict_inode() by adding a
new function evict_should_delete. The function may also lock the inode
glock.

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