On Tue, Mar 14, 2017 at 08:31:26AM -0500, Goldwyn Rodrigues wrote:
On 03/14/2017 07:30 AM, David Sterba wrote:
quoted
On Tue, Mar 14, 2017 at 05:25:09AM -0500, Goldwyn Rodrigues wrote:
quoted
From: Goldwyn Rodrigues <redacted>
Using an int value is causing qg->reserved to become negative and
exclusive -EDQUOT to be reached prematurely.
V1 had a reproducer, I think it's fine to keep it here so I'll copy it.
Reviewed-by: David Sterba <dsterba@suse.com>
I am adding a testcase in (x)fstests which covers both qgroup issues for
which I have sent the patches. I am fine either ways.
The fstests testcase is orthogonal to the changelog describing the steps
to reproduce the bug (it could just roughly describe the idea), as it
helps to understand what's the patch going to fix.