xfs
[Top] [All Lists]

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

To: Alexander Kuleshov <kuleshovmail@xxxxxxxxx>
Subject: Re: [PATCH] xfs/xfs_buf: make xfs_buf_ioend_async() static
From: Brian Foster <bfoster@xxxxxxxxxx>
Date: Mon, 30 Nov 2015 08:22:24 -0500
Cc: Dave Chinner <david@xxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1448646749-18978-1-git-send-email-kuleshovmail@xxxxxxxxx>
References: <1448646749-18978-1-git-send-email-kuleshovmail@xxxxxxxxx>
User-agent: Mutt/1.5.23 (2014-03-12)
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@xxxxxxxxx>
> ---

Reviewed-by: Brian Foster <bfoster@xxxxxxxxxx>

>  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@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs

<Prev in Thread] Current Thread [Next in Thread>