Commit d7cde09
committed
kvs: preserve errno in kvsroot_destroy()
Problem: The internal function kvsroot_destroy() does not preserve
errno. Callers must do it themselves. This is not the common
code pattern in flux-core.
Have kvsroot_destroy() preserve errno. Remove "saving errno" that
callers are doing.1 parent e4abf96 commit d7cde09
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| |||
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
166 | 168 | | |
167 | 169 | | |
168 | 170 | | |
169 | | - | |
170 | 171 | | |
171 | | - | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
0 commit comments