[sheepdog] [PATCH v2 3/4] md: remove unnecessary sd_err

Liu Yuan namei.unix at gmail.com
Tue Sep 3 10:45:09 CEST 2013


Signed-off-by: Liu Yuan <namei.unix at gmail.com>
---
 sheep/md.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/sheep/md.c b/sheep/md.c
index e433f28..622b688 100644
--- a/sheep/md.c
+++ b/sheep/md.c
@@ -349,7 +349,6 @@ int for_each_object_in_stale(int (*func)(uint64_t oid, char *path,
 	sd_read_lock(&md.lock);
 	list_for_each_entry(disk, &md.disk_list, list) {
 		snprintf(path, sizeof(path), "%s/.stale", disk->path);
-		sd_err("%s", path);
 		ret = for_each_object_in_path(path, func, false, arg);
 		if (ret != SD_RES_SUCCESS)
 			break;
-- 
1.7.9.5




More information about the sheepdog mailing list