]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: factor evict_unlinked_inode out of gfs2_evict_inode
authorBob Peterson <rpeterso@redhat.com>
Fri, 11 Sep 2020 14:29:25 +0000 (09:29 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 14 Oct 2020 21:54:41 +0000 (23:54 +0200)
commit3f9e6b55c4aecbf40f4a592c2d6fc0587bab1e65
tree21922f3adca551a312139cac129d269b4616ac33
parent8753c3282828d318943c7303b0259a0a2f8b8469
gfs2: factor evict_unlinked_inode out of gfs2_evict_inode

Function gfs2_evict_inode is way too big, complex and unreadable. This
is a baby step toward breaking it apart to be more readable. It factors
out the portion that deletes the online bits for a dinode that is
unlinked and needs to be deleted. A future patch will factor out more.
(If I factor out too much, the patch itself becomes unreadable).

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