gfs2: Mark withdraws as unlikely
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 20 Dec 2023 16:05:26 +0000 (17:05 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 20 Dec 2023 20:29:40 +0000 (21:29 +0100)
commit015af1af44003fff797f8632e940824c07d282bf
tree93df184ee0efa55af66d8d66f79e4c3406545d3a
parent4710642807ac46942b08e9bcc39ae6fd91e947fa
gfs2: Mark withdraws as unlikely

Mark the gfs2_withdrawn(), gfs2_withdrawing(), and
gfs2_withdraw_in_prog() inline functions as likely to return %false.
This allows to get rid of likely() and unlikely() annotations at the
call sites of those functions.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/aops.c
fs/gfs2/file.c
fs/gfs2/glock.c
fs/gfs2/meta_io.c
fs/gfs2/ops_fstype.c
fs/gfs2/super.c
fs/gfs2/trans.c
fs/gfs2/util.h