Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c440aa6
)
Branch b1_8_gate
author
bobijam
<bobijam>
Thu, 4 Sep 2008 02:35:43 +0000
(
02:35
+0000)
committer
bobijam
<bobijam>
Thu, 4 Sep 2008 02:35:43 +0000
(
02:35
+0000)
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.
lustre/obdclass/obd_mount.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/obd_mount.c
b/lustre/obdclass/obd_mount.c
index
633ad65
..
002a932
100644
(file)
--- a/
lustre/obdclass/obd_mount.c
+++ b/
lustre/obdclass/obd_mount.c
@@
-1887,8
+1887,9
@@
static int lmd_parse(char *options, struct lustre_mount_data *lmd)
goto invalid;
}
- s1 = str
rchr(devname, ':'
);
+ s1 = str
str(devname, ":/"
);
if (s1) {
+ ++s1;
lmd->lmd_flags = LMD_FLG_CLIENT;
/* Remove leading /s from fsname */
while (*++s1 == '/') ;