From 9ccaefdb8ae9cacc1b471689672bd08d497831dc Mon Sep 17 00:00:00 2001 From: Alex Zhuravlev Date: Thu, 15 Nov 2012 21:39:23 +0400 Subject: [PATCH] LU-2333 utils: mount.lustre to ignore fsname if MGS is the only service on a given device, then it's OK to have empty fsname: fsname does not apply to MGS generally. Signed-off-by: Alex Zhuravlev Change-Id: Ie2269c46280b1ef2504fc73a61cc1d28ff2261fc Reviewed-on: http://review.whamcloud.com/4592 Tested-by: Hudson Reviewed-by: Prakash Surya Tested-by: Maloo Reviewed-by: Andreas Dilger --- lustre/utils/mount_utils_zfs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lustre/utils/mount_utils_zfs.c b/lustre/utils/mount_utils_zfs.c index d347d89..124fdf6 100644 --- a/lustre/utils/mount_utils_zfs.c +++ b/lustre/utils/mount_utils_zfs.c @@ -396,7 +396,6 @@ int zfs_is_lustre(char *ds, unsigned *mount_type) ret = zfs_read_ldd(ds, &tmp_ldd); if ((ret == 0) && (tmp_ldd.ldd_config_ver > 0) && - (strlen(tmp_ldd.ldd_fsname) > 0) && (strlen(tmp_ldd.ldd_svname) > 0)) { *mount_type = tmp_ldd.ldd_mount_type; return 1; -- 1.8.3.1