linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fuse: unexport fuse_put_request
@ 2019-09-18 19:58 Arnd Bergmann
  2019-09-19  9:47 ` Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2019-09-18 19:58 UTC (permalink / raw)
  To: Miklos Szeredi
  Cc: Arnd Bergmann, Miklos Szeredi, Kirill Tkhai, Kirill Smelkov,
	Stefan Hajnoczi, Eric Biggers, linux-fsdevel, linux-kernel

This function has been made static, which now causes
a compile-time warning:

WARNING: "fuse_put_request" [vmlinux] is a static EXPORT_SYMBOL_GPL

Remove the unneeded export.

Fixes: 66abc3599c3c ("fuse: unexport request ops")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 fs/fuse/dev.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c
index 46d68d439c41..e367c639bb2b 100644
--- a/fs/fuse/dev.c
+++ b/fs/fuse/dev.c
@@ -175,7 +175,6 @@ static void fuse_put_request(struct fuse_conn *fc, struct fuse_req *req)
 		fuse_request_free(req);
 	}
 }
-EXPORT_SYMBOL_GPL(fuse_put_request);
 
 unsigned int fuse_len_args(unsigned int numargs, struct fuse_arg *args)
 {
-- 
2.20.0


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

* Re: [PATCH] fuse: unexport fuse_put_request
  2019-09-18 19:58 [PATCH] fuse: unexport fuse_put_request Arnd Bergmann
@ 2019-09-19  9:47 ` Stefan Hajnoczi
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2019-09-19  9:47 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Miklos Szeredi, Miklos Szeredi, Kirill Tkhai, Kirill Smelkov,
	Eric Biggers, linux-fsdevel, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 482 bytes --]

On Wed, Sep 18, 2019 at 09:58:16PM +0200, Arnd Bergmann wrote:
> This function has been made static, which now causes
> a compile-time warning:
> 
> WARNING: "fuse_put_request" [vmlinux] is a static EXPORT_SYMBOL_GPL
> 
> Remove the unneeded export.
> 
> Fixes: 66abc3599c3c ("fuse: unexport request ops")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
>  fs/fuse/dev.c | 1 -
>  1 file changed, 1 deletion(-)

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

end of thread, other threads:[~2019-09-19  9:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-18 19:58 [PATCH] fuse: unexport fuse_put_request Arnd Bergmann
2019-09-19  9:47 ` Stefan Hajnoczi

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).