CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2016/01/16 13:00:50

Modified files:
        sbin/pdisk     : dump.c file_media.c file_media.h media.c 
                         media.h partition_map.c pdisk.c validate.c 

Log message:
Start peeling away excess layers of abstraction.

Since 'file' is the only kind of media, no need to call the appropriate
functions via pointers. Just call the _file_ variants directly.
Nuke the fields do_read(), do_write(), do_close(), do_os_reload()
and the functions read_media(), write_media(), close_media() and
os_reload_media().

No functional change.

Reply via email to