src/host_id.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit e87d928c860dc52678be143e6347ec4d34b4ec43
Author: David Teigland <teigland(a)redhat.com>
Date: Tue Apr 5 15:35:28 2011 -0500
sanlock: add_lockspace EEXIST
return an error if the lockspace exists
diff --git a/src/host_id.c b/src/host_id.c
index b3dc51f..51be22a 100644
--- a/src/host_id.c
+++ b/src/host_id.c
@@ -289,6 +289,7 @@ int add_space(struct space *sp)
if (space_exists(sp->space_name)) {
log_erros(sp, "add_space exists");
+ rv = -EEXIST;
goto fail;
}
Show replies by date