diff --git a/lustre/ChangeLog b/lustre/ChangeLog index 757fb9d5152e8a3941bb213adb85c4a0ade9eb77..b46c8418b4cce55f43eb1167aa9da4fac820fd08 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -12,6 +12,12 @@ tbd Sun Microsystems, Inc. * RHEL 4 and RHEL 5/SLES 10 clients behaves differently on 'cd' to a removed cwd "./" (refer to Bugzilla 14399). +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 Bugzilla : 16561 Description: Hitting mdc_commit_close() ASSERTION diff --git a/lustre/obdclass/obd_mount.c b/lustre/obdclass/obd_mount.c index f38a88836cd41d375530002d71c01ca7de6b18be..bffa193a3b33b0496dca7491068cbeaebeff2015 100644 --- a/lustre/obdclass/obd_mount.c +++ b/lustre/obdclass/obd_mount.c @@ -1886,8 +1886,9 @@ static int lmd_parse(char *options, struct lustre_mount_data *lmd) goto invalid; } - s1 = strrchr(devname, ':'); + s1 = strstr(devname, ":/"); if (s1) { + ++s1; lmd->lmd_flags = LMD_FLG_CLIENT; /* Remove leading /s from fsname */ while (*++s1 == '/') ;