From: bobijam Date: Thu, 4 Sep 2008 02:32:58 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_7_110~10 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=5f4fbd50568c9d8ba4e2b585378a353557181231;p=fs%2Flustre-release.git Branch HEAD 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. --- diff --git a/lustre/ChangeLog b/lustre/ChangeLog index 757fb9d..b46c841 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -13,6 +13,12 @@ tbd Sun Microsystems, Inc. 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 Details : Properly handle request reference release in diff --git a/lustre/obdclass/obd_mount.c b/lustre/obdclass/obd_mount.c index f38a888..bffa193 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 == '/') ;