CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2016/01/18 10:57:35
Modified files:
sbin/pdisk : dump.c file_media.c file_media.h
partition_map.c partition_map.h pdisk.c
validate.c
Log message:
struct file_media had 1 field left. And one place where struct
file_media was actually stored. So move the last field (fd) into
the place formerly used to store pointer to the instance. As a
result we can just pass fd's around rather than pointers to a struct
containing a fd.
close_file_media() becomes empty but for a close(). So just use
close() and nuke close_file_media().