From c13ee87800b66ca3e985fa3815cb4f1f374da282 Mon Sep 17 00:00:00 2001
From: johann <johann>
Date: Tue, 24 Jun 2008 08:35:55 +0000
Subject: [PATCH] Branch b1_6 b=15677 i=zhenyu.xu

Tiny fix when the MDS is also the client node. Don't change the checksum
type on MDS's OSCs.
---
 lustre/tests/sanity.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh
index d03c71f76f..aa149ea0a9 100644
--- a/lustre/tests/sanity.sh
+++ b/lustre/tests/sanity.sh
@@ -3181,7 +3181,7 @@ set_checksum_type()
 	[ "$ORIG_CSUM_TYPE" ] || \
 		ORIG_CSUM_TYPE=`lctl get_param -n osc.*osc-[^mM]*.checksum_type | sed 's/.*\[\(.*\)\].*/\1/g' \
 	                        | head -n1`
-	lctl set_param -n osc.*osc-*.checksum_type $1
+	lctl set_param -n osc.*osc-[^mM]*.checksum_type $1
 	log "set checksum type to $1"
 	return 0
 }
-- 
GitLab