Factor out create_static_dev() out of dev_create()

Very similar code is used in mk_quota_dev(), so let's factor it out.
The next patch will make use of it outside of dev.c scope.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed