Skip to content
Snippets Groups Projects
Commit c7a511b0 authored by Bobi Jam's avatar Bobi Jam
Browse files

Branch b1_6

b=16750
i=nathan.rutman
i=sheng.yang

Description: service mount cannot take device name with ":"
Details    : Only when device name contains ":/" will mount treat it as
             client mount.
parent cae022b3
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,12 @@ tbd Sun Microsystems, Inc. ...@@ -38,6 +38,12 @@ tbd Sun Microsystems, Inc.
* Output of lfs quota has been made less detailed by default, * Output of lfs quota has been made less detailed by default,
old (verbose) output can be obtained by using -v option. old (verbose) output can be obtained by using -v option.
Severity : major
Bugzilla : 16750
Description: service mount cannot take device name with ":"
Details : Only when device name contains ":/" will mount treat it as
client mount.
Severity : major Severity : major
Bugzilla : 16561 Bugzilla : 16561
Description: Hitting mdc_commit_close() ASSERTION Description: Hitting mdc_commit_close() ASSERTION
......
...@@ -1884,8 +1884,9 @@ static int lmd_parse(char *options, struct lustre_mount_data *lmd) ...@@ -1884,8 +1884,9 @@ static int lmd_parse(char *options, struct lustre_mount_data *lmd)
goto invalid; goto invalid;
} }
s1 = strrchr(devname, ':'); s1 = strstr(devname, ":/");
if (s1) { if (s1) {
++s1;
lmd->lmd_flags = LMD_FLG_CLIENT; lmd->lmd_flags = LMD_FLG_CLIENT;
/* Remove leading /s from fsname */ /* Remove leading /s from fsname */
while (*++s1 == '/') ; while (*++s1 == '/') ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment