driver/genpsi.c: add fdatasync, this should wakeup hdd before record started

Origin commit data
------------------
Commit: 767a7d3871
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-10-15 (Mon, 15 Oct 2012)
This commit is contained in:
[CST] Focus
2012-10-15 12:49:57 +04:00
parent bc458325f6
commit 5b8235061d

View File

@@ -278,5 +278,6 @@ int genpsi(int fd2)
//-- finish --
avPids.vpid=0;
avPids.nba=0;
fdatasync(fd2);
return 1;
}