]> git.ipfire.org Git - people/ms/linux.git/commit - fs/xfs/xfs_buf.h
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)
commitf9a196ee5ab517deff40ae57195416c13c44c13f
tree305f7d5ed56dc8a69d898f4a0249acfe90aee2cd
parent8c9ce2f707a1571782b4d3d100af627b6d147357
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