libf2fs: move the finalize_device() into the io lib.

This is required so that libf2fs.c can be used against any kind
of device (E.g. an in-memory sparse file) just by linking against
something that provides the libf2fs_io.c functions.

libf2fs is currently libf2fs.c + libf2fs_io.c

Change-Id: I65451596e6b9c654b1ff356de4812d113e80dda8
Signed-off-by: JP Abgrall <jpa@google.com>
2 files changed