|
@@ -1228,7 +1228,6 @@ static int nfs_parse_mount_options(char *raw,
|
|
goto out_nomem;
|
|
goto out_nomem;
|
|
token = match_token(string,
|
|
token = match_token(string,
|
|
nfs_xprt_protocol_tokens, args);
|
|
nfs_xprt_protocol_tokens, args);
|
|
- kfree(string);
|
|
|
|
|
|
|
|
switch (token) {
|
|
switch (token) {
|
|
case Opt_xprt_udp:
|
|
case Opt_xprt_udp:
|
|
@@ -1258,6 +1257,7 @@ static int nfs_parse_mount_options(char *raw,
|
|
goto out_nomem;
|
|
goto out_nomem;
|
|
token = match_token(string,
|
|
token = match_token(string,
|
|
nfs_xprt_protocol_tokens, args);
|
|
nfs_xprt_protocol_tokens, args);
|
|
|
|
+ kfree(string);
|
|
|
|
|
|
switch (token) {
|
|
switch (token) {
|
|
case Opt_xprt_udp:
|
|
case Opt_xprt_udp:
|