"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mapfile.c" between
mdadm-4.2-rc1.tar.xz and mdadm-4.2-rc2.tar.xz

About: mdadm is a tool for creating, managing and monitoring device arrays using the "md" driver in Linux, also known as Software RAID arrays.

mapfile.c  (mdadm-4.2-rc1.tar.xz):mapfile.c  (mdadm-4.2-rc2.tar.xz)
skipping to change at line 218 skipping to change at line 218
{ {
while (map) { while (map) {
struct map_ent *mp = map; struct map_ent *mp = map;
map = mp->next; map = mp->next;
free(mp->path); free(mp->path);
free(mp); free(mp);
} }
} }
int map_update(struct map_ent **mpp, char *devnm, char *metadata, int map_update(struct map_ent **mpp, char *devnm, char *metadata,
int *uuid, char *path) int uuid[4], char *path)
{ {
struct map_ent *map, *mp; struct map_ent *map, *mp;
int rv; int rv;
if (mpp && *mpp) if (mpp && *mpp)
map = *mpp; map = *mpp;
else else
map_read(&map); map_read(&map);
for (mp = map ; mp ; mp=mp->next) for (mp = map ; mp ; mp=mp->next)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)