xfs: mark xfs_buf_ioend static
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Sep 2020 17:55:20 +0000 (10:55 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 Sep 2020 03:52:38 +0000 (20:52 -0700)
Signed-off-by: Christoph Hellwig <hch@lst.de>
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

index d4cdcb6..03dd12a 100644 (file)
@@ -1174,7 +1174,7 @@ xfs_buf_wait_unpin(
  *     Buffer Utility Routines
  */
 
-void
+static void
 xfs_buf_ioend(
        struct xfs_buf  *bp)
 {
index 755b652..bea20d4 100644 (file)
@@ -269,7 +269,6 @@ static inline void xfs_buf_relse(xfs_buf_t *bp)
 
 /* Buffer Read and Write Routines */
 extern int xfs_bwrite(struct xfs_buf *bp);
-extern void xfs_buf_ioend(struct xfs_buf *bp);
 static inline void xfs_buf_ioend_finish(struct xfs_buf *bp)
 {
        if (bp->b_flags & XBF_ASYNC)