Thread (5 messages) 5 messages, 3 authors, 2012-11-12

Re: [RFC PATCH] Btrfs-progs: disable qgroupid 0 for quota_tree

From: Chris Samuel <hidden>
Date: 2012-11-08 23:34:10

On 08/11/12 20:55, Miao Xie wrote:
In kernel, qgroupid 0 is a special number when we run the quota group
limit command.

So, we should not be able to create a quota group whose id is 0,
otherwise the kernel can't deal with it. Fix it.
This is probably a stupid question - but if its not meant to be possible
to create such a thing shouldn't this be fixed in the kernel (as well as
here) to reject attempts from user space to create it?

Otherwise it's possible for a non-aware program (or a user who is
playing) to still create it.

cheers,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help