mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 10:51:05 +02:00
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:
@@ -278,5 +278,6 @@ int genpsi(int fd2)
|
|||||||
//-- finish --
|
//-- finish --
|
||||||
avPids.vpid=0;
|
avPids.vpid=0;
|
||||||
avPids.nba=0;
|
avPids.nba=0;
|
||||||
|
fdatasync(fd2);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user