commit | f7bb97c6eea1da16a62a7d0d9fe3978e17cc19fb | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Thu Nov 18 17:36:47 2010 +0300 |
committer | Kir Kolyshkin <kir@openvz.org> | Thu Nov 18 18:35:02 2010 +0300 |
tree | 5e29bbf81414e5c06c92b3f755726d50b3be8169 | |
parent | 9783f43546b3c0f22d7a60dff25f6010143e2d93 [diff] |
src/lib/quota.c: don't check for dq_param == NULL There is no need to check for dq_param == NULL here, it can never be NULL. Also, the return code of -1 is bad because these functions are expected to return codes suitable as vzctl exit codes. Signed-off-by: Kir Kolyshkin <kir@openvz.org>