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

2012-11-11 Thread Miao Xie
On Mon, 12 Nov 2012 07:25:08 +0100, Jan Schmidt 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 prob

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

2012-11-11 Thread Jan Schmidt
Hi Miao, On Mon, November 12, 2012 at 03:21 (+0100), Miao Xie wrote: > On fri, 09 Nov 2012 10:33:52 +1100, Chris Samuel wrote: >> 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

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

2012-11-11 Thread Miao Xie
On fri, 09 Nov 2012 10:33:52 +1100, Chris Samuel wrote: > 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 i

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

2012-11-08 Thread Chris Samuel
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

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

2012-11-08 Thread Miao Xie
From: Wang Shilong 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. Signed-off-by: Wang Shilong Signed-off-by: Miao Xie --- cmds-qgroup.c |