etc/dists/scripts/*set_ugid_quota: move code to a function

This is a preparation for native (ploop) quota support patch

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
4 files changed