Skip to content

Commit

Permalink
die in case of failure (Atomic CAS)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nawab Ali committed Feb 6, 2008
1 parent d6f5098 commit 9227ac7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/sysint/sys-osd-dir.sm
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ static int osd_dirops_attr1_comp_fn(void *v_p,
* used or we have a hash collision.
*/
gossip_debug(GOSSIP_CLIENT_DEBUG, "Atomic CAS: insert failed\n");
ret = OSD_PVFS_ATOMIC_FAILED;
ret = 1;
goto out;
}
} else {
Expand All @@ -577,7 +577,7 @@ static int osd_dirops_attr1_comp_fn(void *v_p,
} else {
/* remove operation failed */
gossip_debug(GOSSIP_CLIENT_DEBUG, "Atomic CAS: remove failed\n");
ret = OSD_PVFS_ATOMIC_FAILED;
ret = 1;
goto out;
}
}
Expand Down

0 comments on commit 9227ac7

Please sign in to comment.