From: Qu Wenruo Date: Fri, 27 Feb 2015 08:24:22 +0000 (+0800) Subject: btrfs: Check qgroup level in kernel qgroup assign. X-Git-Tag: omap-for-v4.1/fixes-rc1~43^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8465ecec9611d60cbbc8e374ecf68453e0dd5b50;p=pandora-kernel.git btrfs: Check qgroup level in kernel qgroup assign. Although we have qgroup level check in btrfs-progs, it's not enough since other programe may still call ioctl directly not using btrfs-progs. For example, systemd. But it's btrfs-progs to be blame since we don't provide a full-function(like subvolume create things) btrfs library with enough check, and only rely on kernel ioctl. So Add level checks in kernel too. Signed-off-by: Qu Wenruo Reviewed-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed