GFS2: Eliminate __gfs2_glock_remove_from_lru
authorBob Peterson <rpeterso@redhat.com>
Mon, 5 Jan 2015 18:25:10 +0000 (13:25 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 9 Jan 2015 11:33:13 +0000 (11:33 +0000)
commit8f6cb409f016e52b753a93e393622770556d1ab9
tree6444d5d58e504c61c479eab943442366136ea85b
parent11c8f01b423b2d9742ce21e44cb7da7b55429ad5
GFS2: Eliminate __gfs2_glock_remove_from_lru

Since the only caller of function __gfs2_glock_remove_from_lru locks the
same spin_lock as gfs2_glock_remove_from_lru, the functions can be combined.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c