gfs2: Minor gfs2_glock_cb cleanup
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 19 Aug 2024 11:32:44 +0000 (13:32 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 20 Aug 2024 14:06:43 +0000 (16:06 +0200)
commit4117efd5c9ecd9d1d531f85967df7a394d783cf2
tree09d619d9419f19f6c9007c35d7235f987975f187
parent6706415bf9f3dcb425f4b60a08a3a6f1d94ec0e0
gfs2: Minor gfs2_glock_cb cleanup

In gfs2_glock_cb(), we only need to calculate the glock hold time for
inode glocks; the value is unused otherwise.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/glock.c