]> 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)
commit5e6140c02e1503be9c1720788c23ccce29c299f1
tree69f4cb9f1ae56ef0a6073d55cb7b09a2b18c78c5
parent3f9e6b55c4aecbf40f4a592c2d6fc0587bab1e65
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