Re: [RESEND RFC PATCH 2/2] Btrfs: disable the qgroup level 0 for userspace use

2013-02-22 Thread Shilong Wang
Hello, David 2013/2/23 David Sterba : > On Sat, Feb 23, 2013 at 12:39:24AM +0800, Shilong Wang wrote: >> Hello, >> >> 2013/2/22 Arne Jansen : >> > On 02/22/13 13:09, Wang Shilong wrote: >> >> From: Wang Shilong >> >> >> >> This patch tries to stop users to create/destroy qgroup level 0, >> >> use

Re: [RESEND RFC PATCH 2/2] Btrfs: disable the qgroup level 0 for userspace use

2013-02-22 Thread David Sterba
On Sat, Feb 23, 2013 at 12:39:24AM +0800, Shilong Wang wrote: > Hello, > > 2013/2/22 Arne Jansen : > > On 02/22/13 13:09, Wang Shilong wrote: > >> From: Wang Shilong > >> > >> This patch tries to stop users to create/destroy qgroup level 0, > >> users can only create/destroy qgroup level more tha

Re: [RESEND RFC PATCH 2/2] Btrfs: disable the qgroup level 0 for userspace use

2013-02-22 Thread Shilong Wang
Hello, 2013/2/22 Arne Jansen : > On 02/22/13 13:09, Wang Shilong wrote: >> From: Wang Shilong >> >> This patch tries to stop users to create/destroy qgroup level 0, >> users can only create/destroy qgroup level more than 0. >> >> See the fact: >> a subvolume/snapshot qgroup was created auto

Re: [RESEND RFC PATCH 2/2] Btrfs: disable the qgroup level 0 for userspace use

2013-02-22 Thread Arne Jansen
On 02/22/13 13:09, Wang Shilong wrote: > From: Wang Shilong > > This patch tries to stop users to create/destroy qgroup level 0, > users can only create/destroy qgroup level more than 0. > > See the fact: > a subvolume/snapshot qgroup was created automatically > when creating subvolume/sna

[RESEND RFC PATCH 2/2] Btrfs: disable the qgroup level 0 for userspace use

2013-02-22 Thread Wang Shilong
From: Wang Shilong This patch tries to stop users to create/destroy qgroup level 0, users can only create/destroy qgroup level more than 0. See the fact: a subvolume/snapshot qgroup was created automatically when creating subvolume/snapshot, so creating a qgroup level 0 can't be a subvol