diff mbox

[4/7] sunrpc: xdr_get_next_encode_buffer can be static

Message ID 1405303064-9102-5-git-send-email-jlayton@primarydata.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jeff Layton July 14, 2014, 1:57 a.m. UTC
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
---
 net/sunrpc/xdr.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Christoph Hellwig July 15, 2014, 5:02 p.m. UTC | #1
Trond just sent a patch for this as well..

Reviewed-by: Christoph Hellwig <hch@lst.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Jeff Layton July 15, 2014, 5:17 p.m. UTC | #2
On Tue, 15 Jul 2014 10:02:48 -0700
Christoph Hellwig <hch@infradead.org> wrote:

> Trond just sent a patch for this as well..
> 
> Reviewed-by: Christoph Hellwig <hch@lst.de>

Ok, cool. I'll drop this one then.

Thanks,
diff mbox

Patch

diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c
index 23fb4e75e245..13b7dd0d38e6 100644
--- a/net/sunrpc/xdr.c
+++ b/net/sunrpc/xdr.c
@@ -509,7 +509,8 @@  void xdr_commit_encode(struct xdr_stream *xdr)
 }
 EXPORT_SYMBOL_GPL(xdr_commit_encode);
 
-__be32 *xdr_get_next_encode_buffer(struct xdr_stream *xdr, size_t nbytes)
+static __be32 *
+xdr_get_next_encode_buffer(struct xdr_stream *xdr, size_t nbytes)
 {
 	static __be32 *p;
 	int space_left;