]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitb9bce2e9f9936cfd12fbc62ead11edcdd46dec7e
treedc2c4677b3530b612d11489800128e53d27b27ba
parent20547490c12b0ee3d32152b85e9f9bd183aa7224
cifs: fix expand_dfs_referral

Regression introduced in commit 724d9f1cfba.

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