xfs: rework xfs_buf_incore() API
authorDave Chinner <dchinner@redhat.com>
Thu, 7 Jul 2022 12:05:18 +0000 (22:05 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 7 Jul 2022 12:05:18 +0000 (22:05 +1000)
commit85c73bf726e41be276bcad3325d9a8aef10be289
tree1cd74ee0a59eeb2fb856fd40387bec20ef553adf
parent7561cea5dbb97fecb952548a0fb74fb105bf4664
xfs: rework xfs_buf_incore() API

Make it consistent with the other buffer APIs to return a error and
the buffer is placed in a parameter.

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