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

Origin commit data
------------------
Branch: ni/coolstream
Commit: 767a7d3871
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-10-15 (Mon, 15 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-10-15 12:49:57 +04:00
parent a91b8e5c22
commit f15aa5b83f

View File

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