Show hints and error message in case of quota off failed.In case 'quota off' failed, show:
1. an error message
2. hints about the possible causes
3. a list of opened files preventing to turn the quota off, obtained from the kernel
[kir@openvz.org: obtain the list of files in all cases, not taking log level into account]
[kir@openvz.org: removed the note to use -v to get the list of files]
Show hints and error message in case of quota on failed.In case 'quota on' failed, show:
1. an error message
2. hints about the possible causes
3. a list of opened files preventing to turn the quota on, obtained from the kernel
[kir@openvz.org: obtain the list of files in all cases, not taking log level into account]
[kir@openvz.org: removed the note to use -v to get the list of files]
Makefile: minor whitespace fixCommit a86ce1613f95ace18a572f3c4b14e3d83afe6215 adds some extra whitespace.
Fix it,
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Relative scheme support in quota file.If you have a quota file /path/to/quota.SMTH, and path to quota accounting
point in this file is "", than real path to the point will be /path/to/SMTH/
Fixed a compilation warningFixed the following compiler warning:
common.c: In function 'parse_options':
common.c:444: warning: comparison is always true due to limited range of data type
Found while compiling Debian package:
http://buildd.debian.org/fetch.php?&pkg=vzquota&ver=3.0.8-1&arch=powerpc&stamp=1152383243&file=log&as=raw