gfs2: Use list_move_tail instead of list_del/list_add_tail
authorBaokun Li <libaokun1@huawei.com>
Tue, 8 Jun 2021 03:12:44 +0000 (11:12 +0800)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 28 Jun 2021 12:13:38 +0000 (14:13 +0200)
commit38a618dbf47f837f11df01052977dcaf31c5c2a8
treec3c50bde5ce33ac16d1846872cbace1e759479fc
parent0f1616f6df294fe460432630850c0e0a8c30a192
gfs2: Use list_move_tail instead of list_del/list_add_tail

Using list_move_tail() instead of list_del() + list_add_tail().

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/glock.c