]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: fix expand_dfs_referral
authorJeff Layton <jlayton@redhat.com>
Wed, 6 Jul 2011 12:10:39 +0000 (08:10 -0400)
committerSteve French <sfrench@us.ibm.com>
Sat, 9 Jul 2011 21:25:57 +0000 (21:25 +0000)
commit5bce29dc3d5cef0d3d35b883f5ecacd1bdd6dd07
treedc2c4677b3530b612d11489800128e53d27b27ba
parent2910bd13e3b50f14bf7c424b6c3da25de01343c4
cifs: fix expand_dfs_referral

Regression introduced in commit 97fd42ab98d.

Prior to that, expand_dfs_referral would regenerate the mount data string
and then call cifs_parse_mount_options to re-parse it (klunky, but it
worked). The above commit moved cifs_parse_mount_options out of cifs_mount,
so the re-parsing of the new mount options no longer occurred. Fix it by
making expand_dfs_referral re-parse the mount options.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c