[Devel] VZ_QUOTA without VE

Dennis Schridde devurandom at gmx.net
Fri Aug 6 14:59:16 PDT 2010


Hello!

I am looking at the 2.6.32 branch:
Is it intentional that e.g.
VZ_QUOTA can be enabled even if VE is not?

Particularly problematic seems
this:
struct proc_dir_entry *proc_vz_dir;
struct proc_dir_entry
*glob_proc_vz_dir;

That's in kernel/ve/veowner.c (including
initialisation), but the quota code makes use of these variables.
So for
VZ_QUOTA and VE to be truly independent, the initialisation (as well as the
symbol itself) would have to move out of veowner.c into some "neutral" space
(imo).

--Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openvz.org/pipermail/devel/attachments/20100806/fb72a14f/attachment-0001.sig>


More information about the Devel mailing list