GFS2: Don't bother trying to add rgrps to the lru list
authorBob Peterson <rpeterso@redhat.com>
Wed, 26 Jul 2017 15:18:19 +0000 (10:18 -0500)
committerBob Peterson <rpeterso@redhat.com>
Wed, 9 Aug 2017 14:36:38 +0000 (09:36 -0500)
commit2d821a8b7192ed9d2ea0c30f3cb62b58aa46cf41
treed4d92df3dc476c6aedc3d62c16ed8dbb4df48df5
parent240c6235dfe4fe46f2fd0f2b3c15b3a22100a75e
GFS2: Don't bother trying to add rgrps to the lru list

This patch removes a call to gfs2_glock_add_to_lru from function
gfs2_clear_rgrpd. The call is just a waste of time because as soon
as it adds it to the lru_list, the call to gfs2_glock_put takes it
back off again.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/rgrp.c