diff options
| author | Bob Peterson <[email protected]> | 2021-08-02 14:08:51 +0000 |
|---|---|---|
| committer | Bob Peterson <[email protected]> | 2021-08-20 14:03:46 +0000 |
| commit | 08d736667185dca2751cf47eabb0830cecdeb160 (patch) | |
| tree | b71b66b7535da70a729c1ca16ebe7117bbb379bb /lib/test_overflow.c | |
| parent | gfs2: Delay withdraw from atomic context (diff) | |
| download | kernel-08d736667185dca2751cf47eabb0830cecdeb160.tar.gz kernel-08d736667185dca2751cf47eabb0830cecdeb160.zip | |
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 <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions
