File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 30
30
#define CREATE_TRACE_POINTS
31
31
#include <trace/events/9p.h>
32
32
33
+ #define DEFAULT_MSIZE 8192
34
+
33
35
/*
34
36
* Client Option Parsing (code inspired by NFS code)
35
37
* - a little lazy - parse all client options
@@ -65,7 +67,7 @@ EXPORT_SYMBOL(p9_is_proto_dotu);
65
67
66
68
int p9_show_client_options (struct seq_file * m , struct p9_client * clnt )
67
69
{
68
- if (clnt -> msize != 8192 )
70
+ if (clnt -> msize != DEFAULT_MSIZE )
69
71
seq_printf (m , ",msize=%u" , clnt -> msize );
70
72
seq_printf (m , ",trans=%s" , clnt -> trans_mod -> name );
71
73
@@ -139,7 +141,7 @@ static int parse_opts(char *opts, struct p9_client *clnt)
139
141
int ret = 0 ;
140
142
141
143
clnt -> proto_version = p9_proto_2000L ;
142
- clnt -> msize = 8192 ;
144
+ clnt -> msize = DEFAULT_MSIZE ;
143
145
144
146
if (!opts )
145
147
return 0 ;
You can’t perform that action at this time.
0 commit comments