commit | 08d736667185dca2751cf47eabb0830cecdeb160 | [log] [tgz] |
---|---|---|
author | Bob Peterson <rpeterso@redhat.com> | Mon Aug 02 09:08:51 2021 -0500 |
committer | Bob Peterson <rpeterso@redhat.com> | Fri Aug 20 09:03:46 2021 -0500 |
tree | b71b66b7535da70a729c1ca16ebe7117bbb379bb | |
parent | fffe9bee14b0e04ef632b96279fa44cb3df80812 [diff] |
gfs2: Remove redundant check from gfs2_glock_dq In function gfs2_glock_dq, it checks to see if this is the fast path. Before this patch, it checked both "find_first_holder(gl) == NULL" and list_empty(&gl->gl_holders), which is redundant. If gl_holders is empty then find_first_holder must return NULL. This patch removes the redundancy. Signed-off-by: Bob Peterson <rpeterso@redhat.com>