xfs: mark xfs_buf_free static
PATCH 1/1 xfs: mark xfs_buf_free static
Signed-off-by Christoph Hellwig <[email protected]>
--- fs/xfs/xfs_buf.c | 2 +- fs/xfs/xfs_buf.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)
fs/xfs/xfs_buf.c +1 -1
@@ -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) {
fs/xfs/xfs_buf.h +0 -1
@@ -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 */
Signature · 1 line
2.20.1
Quoted 1 line · Christoph Hellwig
Signed-off-by Christoph Hellwig <[email protected]>
Looks ok,
Reviewed-by Darrick J. Wong <[email protected]>
--D
Quoted 33 lines
--- fs/xfs/xfs_buf.c | 2 +- fs/xfs/xfs_buf.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)fs/xfs/xfs_buf.c +1
-1@@ -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) {fs/xfs/xfs_buf.h +0
-1@@ -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 */ Signature · 1 line
2.20.1