]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
xfs: mark xfs_buf_free static
authorChristoph Hellwig <hch@lst.de>
Fri, 25 Oct 2019 05:25:37 +0000 (22:25 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 28 Oct 2019 15:37:54 +0000 (08:37 -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 0abba171aa89b6c948fc795201d2eee9734d6e06..9640e4174552ab92ac467d2aa304f9b746164793 100644 (file)
@@ -304,7 +304,7 @@ _xfs_buf_free_pages(
  *     The buffer must not be on any hash - use xfs_buf_rele instead for
  *     hashed and refcounted buffers
  */
-void
+static void
 xfs_buf_free(
        xfs_buf_t               *bp)
 {
index f6ce17d8d8480f2836c5440d35313facb5802ac9..56e081dd1d968600feb7621ee4b611c3e57f771e 100644 (file)
@@ -244,7 +244,6 @@ int xfs_buf_read_uncached(struct xfs_buftarg *target, xfs_daddr_t daddr,
 void xfs_buf_hold(struct xfs_buf *bp);
 
 /* Releasing Buffers */
-extern void xfs_buf_free(xfs_buf_t *);
 extern void xfs_buf_rele(xfs_buf_t *);
 
 /* Locking and Unlocking Buffers */