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

Liu Yuan namei.unix at gmail.com
Tue Sep 3 11:27:59 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 7e3685e..ba73c40 100644
--- a/sheep/md.c
+++ b/sheep/md.c
@@ -350,7 +350,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