author | Sebastian Harl <sh@tokkee.org> | |
Sat, 30 Jun 2012 14:33:09 +0000 (16:33 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sat, 30 Jun 2012 14:33:09 +0000 (16:33 +0200) | ||
commit | 86f8abbafa7a174299caa435c7e0bc5d07b84968 | |
tree | ed050fd0f7ef0035209eaf629fc38c6e9f3f644d | tree | snapshot |
parent | c00718f5ae61eea67abdd92aa4cb65920d4803aa | commit | diff |
swap plugin: Don't report an error if there is no swap space on Linux.
… rather, simply record zeros in that case. Swap may be switched on and off at
arbitrary times and/or might be added at "later" times. Thus, storing zero in
case the swap plugin is enabled sounds like the best approach to me.
… rather, simply record zeros in that case. Swap may be switched on and off at
arbitrary times and/or might be added at "later" times. Thus, storing zero in
case the swap plugin is enabled sounds like the best approach to me.
src/swap.c | diff | blob | history |