Fixed parsing of mount options when doing DFS submount
authorIgor Mammedov <niallain@gmail.com>
Thu, 23 Oct 2008 09:58:42 +0000 (13:58 +0400)
committerSteve French <sfrench@us.ibm.com>
Tue, 18 Nov 2008 04:29:06 +0000 (04:29 +0000)
commit2c55608f28444c3f33b10312881384c470ceed56
tree84064756aee9e936cd5f3eb8f63fe83f04d30de2
parentab3f992983062440b4f37c666dac66d987902d91
Fixed parsing of mount options when doing DFS submount

Since these hit the same routines, and are relatively small, it is easier to review
them as one patch.

Fixed incorrect handling of the last option in some cases
Fixed prefixpath handling convert path_consumed into host depended string length (in bytes)
Use non default separator if it is provided in the original mount options

Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Igor Mammedov <niallain@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifs_dfs_ref.c
fs/cifs/cifssmb.c