commit | 4e61f7119dcc033ee7e50d3a0543184bacb7b1b4 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Fri May 27 20:03:43 2011 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Fri May 27 20:03:43 2011 +0400 |
tree | 29d7e588f48ff06a52697fb1a89ad46887e748d8 | |
parent | a597167a52b7873106bcbe172ff6dd27f1e68136 [diff] |
vzctl set --quotaugidlimit: warn on turning quota on/off, no warn on change When a value of quotaugidlimit changes, there's no need to warn, it can be done on the fly. But when we turn the quota on or off -- we need to warn. So fix check_set_mode() accordingly. In fact we can't catch all the cases here, since we'd need to check the actual quota state as well (and it is done later in the code), but let's try to catch what we can catch. Signed-off-by: Kir Kolyshkin <kir@openvz.org>