linux-next: manual merge of the fuse tree with Linus' tree
Hi all,
Today's linux-next merge of the fuse tree got a conflict in:
fs/fuse/sysctl.c
between commit:
1751f872cc97 ("treewide: const qualify ctl_tables where applicable")
from Linus' tree and commit:
9afd7336f3ac ("fuse: add default_request_timeout and max_request_timeout sysctls")
from the fuse tree.
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
Signature · 22 lines
Cheers,
Stephen Rothwell
diff --cc fs/fuse/sysctl.c
index 63fb1e5bee30,3d542ef9d889..000000000000
--- a/fs/fuse/sysctl.c
+++ b/fs/fuse/sysctl.c
@@@ -13,7 -13,13 +13,13 @@@ static struct ctl_table_header *fuse_ta
/* Bound by fuse_init_out max_pages, which is a u16 */
static unsigned int sysctl_fuse_max_pages_limit = 65535;
+ /*
+ * fuse_init_out request timeouts are u16.
+ * This goes up to ~18 hours, which is plenty for a timeout.
+ */
+ static unsigned int sysctl_fuse_req_timeout_limit = 65535;
+
-static struct ctl_table fuse_sysctl_table[] = {
+static const struct ctl_table fuse_sysctl_table[] = {
{
.procname = "max_pages_limit",
.data = &fuse_max_pages_limit,Joel Granados
Reviewed-byQuoted 33 lines · Stephen Rothwell
Hi all,
Today's linux-next merge of the fuse tree got a conflict in:
fs/fuse/sysctl.cbetween commit:
1751f872cc97("treewide: const qualifyctl_tableswhere applicable")from Linus' tree and commit:
9afd7336f3ac("fuse: adddefault_request_timeoutandmax_request_timeoutsysctls")from the fuse tree.
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
Signature · 2 lines
Cheers, Stephen Rothwellfs/fuse/sysctl.c +0
-0@@@ -13,7 -13,13 +13,13 @@@ static struct ctl_table_header *fuse_ta/* Bound by fuse_init_out max_pages, which is a u16 */
fs/fuse/sysctl.c
Quoted 10 lines
fs/fuse/sysctl.c +6
-0static unsigned int sysctl_fuse_max_pages_limit =65535 ; +/* +* fuse_init_out request timeouts are u16. +* This goes up to ~18 hours, which is plenty for a timeout. +*/ +static unsigned int sysctl_fuse_req_timeout_limit =65535 ; + -static struct ctl_table fuse_sysctl_table[] = { +static const struct ctl_table fuse_sysctl_table[] = {
This LGTM. As long as that array is const, I'm happy :)
Not sure if this makes sense in this context but:
Quoted 3 lines
{
.procname = "max_pages_limit",
.data = &fuse_max_pages_limit,Signature · 1 line
Joel Granados