linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xfs: Remove obsolete declaration of xfs_buf_get_empty
@ 2017-03-27 20:01 Nikolay Borisov
  2017-03-27 20:05 ` Darrick J. Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Nikolay Borisov @ 2017-03-27 20:01 UTC (permalink / raw)
  To: darrick.wong; +Cc: linux-xfs, Nikolay Borisov

This function has been removed ever since at least 3.12-era. No need to
keep its declaration in the header so nuke it.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
---
 fs/xfs/xfs_buf.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/xfs/xfs_buf.h b/fs/xfs/xfs_buf.h
index 3c867e5a63e1..e1bc1af743fa 100644
--- a/fs/xfs/xfs_buf.h
+++ b/fs/xfs/xfs_buf.h
@@ -291,7 +291,6 @@ xfs_buf_readahead(
 	return xfs_buf_readahead_map(target, &map, 1, ops);
 }
 
-struct xfs_buf *xfs_buf_get_empty(struct xfs_buftarg *target, size_t numblks);
 void xfs_buf_set_empty(struct xfs_buf *bp, size_t numblks);
 int xfs_buf_associate_memory(struct xfs_buf *bp, void *mem, size_t length);
 
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] xfs: Remove obsolete declaration of xfs_buf_get_empty
  2017-03-27 20:01 [PATCH] xfs: Remove obsolete declaration of xfs_buf_get_empty Nikolay Borisov
@ 2017-03-27 20:05 ` Darrick J. Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Darrick J. Wong @ 2017-03-27 20:05 UTC (permalink / raw)
  To: Nikolay Borisov; +Cc: linux-xfs

On Mon, Mar 27, 2017 at 11:01:49PM +0300, Nikolay Borisov wrote:
> This function has been removed ever since at least 3.12-era. No need to
> keep its declaration in the header so nuke it.
> 
> Signed-off-by: Nikolay Borisov <nborisov@suse.com>

Looks ok,
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>

Will queue this for 4.12.

--D

> ---
>  fs/xfs/xfs_buf.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/fs/xfs/xfs_buf.h b/fs/xfs/xfs_buf.h
> index 3c867e5a63e1..e1bc1af743fa 100644
> --- a/fs/xfs/xfs_buf.h
> +++ b/fs/xfs/xfs_buf.h
> @@ -291,7 +291,6 @@ xfs_buf_readahead(
>  	return xfs_buf_readahead_map(target, &map, 1, ops);
>  }
>  
> -struct xfs_buf *xfs_buf_get_empty(struct xfs_buftarg *target, size_t numblks);
>  void xfs_buf_set_empty(struct xfs_buf *bp, size_t numblks);
>  int xfs_buf_associate_memory(struct xfs_buf *bp, void *mem, size_t length);
>  
> -- 
> 2.7.4
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-27 20:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-27 20:01 [PATCH] xfs: Remove obsolete declaration of xfs_buf_get_empty Nikolay Borisov
2017-03-27 20:05 ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).