swtpm: Implement support for fsync on a file and directory

Implement support for fsync on a file and directory when using the
directory-backend. Pass the user's choice for whether to call fsync and
pass the boolean into the storage backend. Only the directory-backend is
supporting this.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
8 files changed