[PATCH] xfs/xfs_buf: make xfs_buf_ioend_async() static

Brian Foster bfoster at redhat.com
Mon Nov 30 07:22:24 CST 2015


On Fri, Nov 27, 2015 at 11:52:29PM +0600, Alexander Kuleshov wrote:
> There are no callers of the xfs_buf_ioend_async() function outside
> of the fs/xfs/xfs_buf.c. So, let's make it static.
> 
> Signed-off-by: Alexander Kuleshov <kuleshovmail at gmail.com>
> ---

Reviewed-by: Brian Foster <bfoster at redhat.com>

>  fs/xfs/xfs_buf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c
> index 3243cdf..45a8ea7 100644
> --- a/fs/xfs/xfs_buf.c
> +++ b/fs/xfs/xfs_buf.c
> @@ -1045,7 +1045,7 @@ xfs_buf_ioend_work(
>  	xfs_buf_ioend(bp);
>  }
>  
> -void
> +static void
>  xfs_buf_ioend_async(
>  	struct xfs_buf	*bp)
>  {
> -- 
> 2.5.0
> 
> _______________________________________________
> xfs mailing list
> xfs at oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs



More information about the xfs mailing list