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 <[email protected]>
---
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
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 <[email protected]>
> ---
> fs/fuse/dev.c | 1 -
> 1 file changed, 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <[email protected]>