xfs: get rid of xb_to_gfp()
authorDave Chinner <dchinner@redhat.com>
Mon, 7 Jun 2021 01:50:17 +0000 (11:50 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 7 Jun 2021 01:50:17 +0000 (11:50 +1000)
commit289ae7b48c2c4d9bec515e720c01146498109dee
tree0099b09fcb21b6bac005a1a16687bfe18c64a18a
parent934d1076bb2c5bbb3d5b0e3892b208d1f537949d
xfs: get rid of xb_to_gfp()

Only used in one place, so just open code the logic in the macro.
Based on a patch from Christoph Hellwig.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_buf.c