]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: make xfs_buf_incore out of line
authorDave Chinner <dchinner@redhat.com>
Wed, 18 Apr 2018 15:25:20 +0000 (08:25 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 9 May 2018 17:04:00 +0000 (10:04 -0700)
commitb37a0b3461a13f837b2a269dd6fa88563540eec9
treed28e888c15966f861b3b9093a29fb62061549c49
parent70d2e84a07506d28749efac3fd5ab47370e20e48
xfs: make xfs_buf_incore out of line

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>
fs/xfs/libxfs/xfs_attr_remote.c
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h
fs/xfs/xfs_qm.c