diff options
author | NeilBrown <neilb@suse.de> | 2010-11-22 20:24:50 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-11-22 20:24:50 +1100 |
commit | 1f49fb3ae5c76e7abc7e1fdd8690e4b8c21b7d31 (patch) | |
tree | 24eab065f3970e581e74b8f7046bd7bac7cbadcd /util.c | |
parent | 2b959fbf66d35f02ea57074428268bf7cc62c18b (diff) |
Use new load_container in Examine
This makes explicit the two different ways to use Examine
And removes a user of container_loaded.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1086,7 +1086,8 @@ struct supertype *super_by_fd(int fd, char **subarrayp) sysfs_free(sra); if (st) { st->sb = NULL; - *subarrayp = subarray; + if (subarrayp) + *subarrayp = subarray; } else free(subarray); return st; |