gfs2: Fixup to "Get rid of flush_delayed_work in gfs2_evict_inode"
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 19 Jul 2017 16:10:19 +0000 (11:10 -0500)
committerBob Peterson <rpeterso@redhat.com>
Wed, 19 Jul 2017 16:10:19 +0000 (11:10 -0500)
commit98e5a91a6136af01198cfe9a3499f090718fd6ff
tree29abdb78a930fbd7316db05247166c687906c420
parent914cea93dd89f00b41c1d8ff93f17be47356a36a
gfs2: Fixup to "Get rid of flush_delayed_work in gfs2_evict_inode"

When commit 4fd1a57952 moved the call to flush_delayed_work from
gfs2_evict_inode to gfs2_inode_lookup to avoid calling into DLM during
evict, a similar call should have been added to gfs2_create_inode:
that's another code path in which glocks of previous inodes may be
reused.

The flush of the iopen glock work queue added by 4fd1a57952, on the
other hand, is unnecessary and can be removed.

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