diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-10-31 09:47:14 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-10-31 09:47:14 +0100 |
commit | 19275aa8bbc3407406d473debf316d0dbe6f45e3 (patch) | |
tree | 93328431f7d1aaff7a1665091c93ebe858a4ebb0 /vdr.c | |
parent | 7bbbfb0dee56942458968e538830a3e5ec785bb5 (diff) | |
download | vdr-19275aa8bbc3407406d473debf316d0dbe6f45e3.tar.gz vdr-19275aa8bbc3407406d473debf316d0dbe6f45e3.tar.bz2 |
Fixed an invalid lock sequence when trying to remove a deleted recording in case of low disk space; now making sure that AssertFreeDiskSpace() is called with the maximum timer priority in case there are several timers recording with different priorities
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -22,7 +22,7 @@ * * The project's page is at http://www.tvdr.de * - * $Id: vdr.c 4.18 2017/06/10 11:53:39 kls Exp $ + * $Id: vdr.c 4.19 2017/10/31 09:46:22 kls Exp $ */ #include <getopt.h> @@ -1171,6 +1171,8 @@ int main(int argc, char *argv[]) // Trigger remote timer polls: if (TriggerRemoteTimerPoll) Timers->TriggerRemoteTimerPoll(); + // Make sure there is enough free disk space for ongoing recordings: + AssertFreeDiskSpace(Timers->GetMaxPriority()); TimersStateKey.Remove(TimersModified); } // Recordings: |