nfsd-6.11 fixes:
- Two minor fixes for recent changes -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEKLLlsBKG3yQ88j7+M2qzM29mf5cFAma3pFoACgkQM2qzM29m f5f4dA//SiPOS7v60jQubfV3f031E+W3a6YxvB5tqByA23hOavjYowGREyvhtaS5 lgqRO25BXz7uNOjSWUXaV7SsR1GKElWtk/gGVsfYy03A91Qvafb24oapJRwRXeJ1 5n6X5AScxJeoDGEIUMoGU3O87v4T6UoTj5K6bjUDqr5kTRTL6rPFj3jYvy0YVLe3 EsA1P+BLctB1XiboMYNfZyEJbxNF5gpO7OaeS8VPQIeNYhaF1cwsa7A9wDJ22UpB BQEguTjPqgzkthOdkc3jNcoXtDUEzAXxQqACKR8CU6cCoyr159KupSlci4LqA2o4 8CwcVd01L79JjGcrZqo+4vmbuY6rfhN7U/EYcNNJPZKUIo7Q5h4dq/pCaBADK2Ke UJVPsmdYXKMwn/pPJI9kjoellqSrjOxqFDXXqBb/e8Z/xXuXmiYRl6E+dtGeBlty j4qm12d1BGKs7zRaLLThbFTH6s3kUCjVhEr+uphse6CVF6HV/NNK79jooHrrgCiS e1vgRaYIgzMREOyq8fZwvINDuk/8Pa1Z4wlR65orwVzWlZMmk9bLm+wwplcyj34x una8RrQhxlicY5nAGUa+aRCkKUtO9oSPs6hukoT+DB06+mhQ7u3ro96ojueMfMdQ pKux8zrCdJe7jZUlnIW30/QsrgWhHW9KsrdUA9eKQ1FoZIOdS9I= =YX9E -----END PGP SIGNATURE----- Merge tag 'nfsd-6.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux Pull nfsd fixes from Chuck Lever: - Two minor fixes for recent changes * tag 'nfsd-6.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux: nfsd: don't set SVC_SOCK_ANONYMOUS when creating nfsd sockets sunrpc: avoid -Wformat-security warning
This commit is contained in:
commit
5189dafa4c
@ -2069,8 +2069,7 @@ int nfsd_nl_listener_set_doit(struct sk_buff *skb, struct genl_info *info)
|
||||
continue;
|
||||
}
|
||||
|
||||
ret = svc_xprt_create_from_sa(serv, xcl_name, net, sa,
|
||||
SVC_SOCK_ANONYMOUS,
|
||||
ret = svc_xprt_create_from_sa(serv, xcl_name, net, sa, 0,
|
||||
get_current_cred());
|
||||
/* always save the latest error */
|
||||
if (ret < 0)
|
||||
|
@ -161,7 +161,7 @@ param_get_pool_mode(char *buf, const struct kernel_param *kp)
|
||||
str[len] = '\n';
|
||||
str[len + 1] = '\0';
|
||||
|
||||
return sysfs_emit(buf, str);
|
||||
return sysfs_emit(buf, "%s", str);
|
||||
}
|
||||
|
||||
module_param_call(pool_mode, param_set_pool_mode, param_get_pool_mode,
|
||||
|
Loading…
x
Reference in New Issue
Block a user