aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-12-04 07:48:57 +0100
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2012-12-05 14:39:09 +0100
commitfa45c26a0e5d3597814cef5ebd64e3db1b3b017d (patch)
tree74ea53f01b9d3594a587f8836a9b63161ecb0de2 /src/test
parent85887020dc6080e5707632a4ea68232f66d51d69 (diff)
call CheckDiskSpace() before pre-allocating space
- even if we are allowed to fail pre-allocating, it's better to check for sufficient space before calling AllocateFileRange() and if we are out of disk space return with error() - the above change allows us to remove the CheckDiskSpace() check in CBlock::AcceptBlock()
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions