firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-fs_fuse_inode.c.patch

22 lines
789 B
Diff

diff -drupN a/fs/fuse/inode.c b/fs/fuse/inode.c
--- a/fs/fuse/inode.c 2018-08-06 17:23:04.000000000 +0300
+++ b/fs/fuse/inode.c 2022-06-12 05:28:14.000000000 +0300
@@ -30,7 +30,7 @@ static struct kmem_cache *fuse_inode_cac
struct list_head fuse_conn_list;
DEFINE_MUTEX(fuse_mutex);
-static int set_global_limit(const char *val, struct kernel_param *kp);
+static int set_global_limit(const char *val, const struct kernel_param *kp);
unsigned max_user_bgreq;
module_param_call(max_user_bgreq, set_global_limit, param_get_uint,
@@ -827,7 +827,7 @@ static void sanitize_global_limit(unsign
*limit = (1 << 16) - 1;
}
-static int set_global_limit(const char *val, struct kernel_param *kp)
+static int set_global_limit(const char *val, const struct kernel_param *kp)
{
int rv;