]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: qgroup: allow user to clear the limitation on qgroup
authorYang Dongsheng <yangds.fnst@cn.fujitsu.com>
Wed, 3 Jun 2015 06:57:32 +0000 (14:57 +0800)
committerChris Mason <clm@fb.com>
Tue, 30 Jun 2015 20:20:00 +0000 (13:20 -0700)
commit302dca97e90493e2174b866b2750862e2a70ca56
treebfc39a59d14689e76f1ae893c5cea04cfae6956b
parentca1966dfcbbc603f8149ffd72a924069665bfc51
btrfs: qgroup: allow user to clear the limitation on qgroup

Currently, we can only set a limitation on a qgroup, but we
can not clear it.

This patch provide a choice to user to clear a limitation on
qgroup by passing a value of CLEAR_VALUE(-1) to kernel.

Reported-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Tested-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/qgroup.c