On Wed, Jun 03, 2015 at 05:27:03PM +0800, Dongsheng Yang wrote: > If we pass a negative value to command qgroup limit, btrfs-progs > would convert it to unsigned long long silently. That's a little > confusing to user, why I can limit my quota to a negative value. > > This patch add a check in parse_limit, if the input value is negative, > error out to user. > > Reported-by: Tsutomu Itoh <t-itoh@xxxxxxxxxxxxxx> > Signed-off-by: Dongsheng Yang <yangds.fnst@xxxxxxxxxxxxxx> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
