[PATCH] 9p: use copy of the options value instead of original

2007-10-26 Thread Latchesar Ionkov
v9fs_parse_options function uses strsep which modifies the value of the v9ses->options field. That modified value is later passed to the function that creates the transport potentially making the transport creation function to fail. This patch creates a copy of v9ses->option field that

[PATCH] 9p: use copy of the options value instead of original

2007-10-26 Thread Latchesar Ionkov
v9fs_parse_options function uses strsep which modifies the value of the v9ses-options field. That modified value is later passed to the function that creates the transport potentially making the transport creation function to fail. This patch creates a copy of v9ses-option field that