No need to check for type before doing fsync()

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/filesetup.c b/filesetup.c
index 85141dc..f0c42e8 100644
--- a/filesetup.c
+++ b/filesetup.c
@@ -554,8 +554,7 @@
 	if (--f->references)
 		return;
 
-	if (should_fsync(td) && td->o.fsync_on_close &&
-	    (f->filetype == FIO_TYPE_FILE || f->filetype == FIO_TYPE_BD))
+	if (should_fsync(td) && td->o.fsync_on_close)
 		fsync(f->fd);
 
 	if (td->io_ops->close_file)