]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: merge xfs_buf_zero and xfs_buf_iomove
authorChristoph Hellwig <hch@lst.de>
Wed, 12 Jun 2019 15:59:59 +0000 (08:59 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 12 Jun 2019 15:59:59 +0000 (08:59 -0700)
commit8ee75d5d66a7d5e03eebd1d37ca8a897c881aa9e
tree305f7d5ed56dc8a69d898f4a0249acfe90aee2cd
parentfc92d72a6391d0bb6a5be8d98687c2a20cad69bc
xfs: merge xfs_buf_zero and xfs_buf_iomove

xfs_buf_zero is the only caller of xfs_buf_iomove.  Remove support
for copying from or to the buffer in xfs_buf_iomove and merge the
two functions.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h