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 d4cdcb6fb2fe10b4e7a2244d52f5afa8fc8dd587..03dd12a83b82a157785b82ac5c01b0dfbd02c8b7 100644 (file)
@@ -1174,7 +1174,7 @@ xfs_buf_wait_unpin(
  *     Buffer Utility Routines
  */
 
-void
+static void
 xfs_buf_ioend(
        struct xfs_buf  *bp)
 {
index 755b652e695ace6220b96574400235a64e716564..bea20d43a38191fb9df030e9f2e5545db911e787 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)