]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: make xfs_buf_incore out of line
authorDave Chinner <dchinner@redhat.com>
Thu, 28 Jun 2018 20:11:54 +0000 (15:11 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 28 Jun 2018 20:11:54 +0000 (15:11 -0500)
commitce50fc05413cca63e1d30368ee6274f7326613b8
tree460da97c3bf1dd4f0d67c4946a8401b006828a38
parenta65177d51b3fd82ac3c3515fe2b7f0fb66e2ddd5
xfs: make xfs_buf_incore out of line

Source kernel commit: 8925a3dc4771004b3e697e7159fa87be2aa5dd43

Move xfs_buf_incore out of line and make it the only way to look up
a buffer in the buffer cache from outside the buffer cache. Convert
the external users of _xfs_buf_find() to xfs_buf_incore() and make
_xfs_buf_find() static.

Signed-Off-By: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
[darrick: actually rename xfs_incore -> xfs_buf_incore]
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/libxfs_priv.h
libxfs/xfs_attr_remote.c