From 94591a635bdd23ba74298c64273d4688405aa370 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Mon, 6 Dec 2010 16:11:24 -0600 Subject: [PATCH] vol_split: Recover from stream open failure Make sure we go through the error recovery code when we can't create a stream, instead of just returning without cleaning up. Change-Id: Ie3a5be9a81b36624a7d49958233c42e82a0e4bfa Reviewed-on: http://gerrit.openafs.org/3466 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/volser/vol_split.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/volser/vol_split.c b/src/volser/vol_split.c index 0680efc6a..c34cbbeed 100644 --- a/src/volser/vol_split.c +++ b/src/volser/vol_split.c @@ -120,7 +120,7 @@ ExtractVnodes(struct Msg *m, Volume *vol, afs_int32 class, sprintf(m->line, "Couldn't stream open %s Index of volume %u\n", class ? "small":"large", V_id(vol)); rx_Write(m->call, m->line, strlen(m->line)); - return EIO; + code = EIO; goto Bad_Extract; } code = STREAM_ASEEK(stream, vcp->diskSize); -- 2.39.5