diff mbox series

fuse: unexport fuse_put_request

Message ID 20190918195822.2172687-1-arnd@arndb.de
State Accepted
Commit 0ed4059302a72ad0d70c874b3f4fd5489da711c6
Headers show
Series fuse: unexport fuse_put_request | expand

Commit Message

Arnd Bergmann Sept. 18, 2019, 7:58 p.m. UTC
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(-)

-- 
2.20.0

Comments

Stefan Hajnoczi Sept. 19, 2019, 9:47 a.m. UTC | #1
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>
diff mbox series

Patch

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