mirror of https://gitee.com/openkylin/linux.git
xfs: mark xfs_buf_free static
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>
This commit is contained in:
parent
3dd4d40b42
commit
25a409572b
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue