]> www.infradead.org Git - users/hch/xfsprogs.git/commitdiff
xfs: remove XFS_BUF_SET_BDSTRAT_FUNC
authorChristoph Hellwig <hch@lst.de>
Wed, 8 Apr 2020 13:48:15 +0000 (09:48 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Wed, 8 Apr 2020 13:48:15 +0000 (09:48 -0400)
This function doesn't exist in the kernel and is purely a stub in
xfsprogs, so remove it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/libxfs_priv.h
libxfs/logitem.c

index 3cd2be5bd066d6c334aaa7a73c0dad0d0c9cd579..820f111c009c59fcda24d9b3c924795f5573d080 100644 (file)
@@ -369,7 +369,6 @@ roundup_64(uint64_t x, uint32_t y)
 #define XBF_DONE                       0
 #define xfs_buf_stale(bp)              ((bp)->b_flags |= LIBXFS_B_STALE)
 #define XFS_BUF_UNDELAYWRITE(bp)       ((bp)->b_flags &= ~LIBXFS_B_DIRTY)
-#define XFS_BUF_SET_BDSTRAT_FUNC(a,b)  ((void) 0)
 
 static inline struct xfs_buf *xfs_buf_incore(struct xfs_buftarg *target,
                xfs_daddr_t blkno, size_t numblks, xfs_buf_flags_t flags)
index b11df4fae6ee4faaee2883bd5e8824e6de50b3e5..d0819dcbf173c5207df164ca74a1bb84a703b472 100644 (file)
@@ -84,7 +84,6 @@ xfs_buf_item_init(
         * the first.  If we do already have one, there is
         * nothing to do here so return.
         */
-       XFS_BUF_SET_BDSTRAT_FUNC(bp, xfs_bdstrat_cb);
        if (bp->b_log_item != NULL) {
                lip = bp->b_log_item;
                if (lip->li_type == XFS_LI_BUF) {