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

This commit is contained in:
[CST] Focus
2012-10-15 12:49:57 +04:00
parent 5428d36da4
commit 767a7d3871

View File

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