[PATCH 2/2 v2][xfstests] fstrim: Use strtoull instead of strtoul

Alex Elder aelder at sgi.com
Thu Sep 22 15:59:14 CDT 2011


On Wed, 2011-09-07 at 17:48 +0200, Lukas Czerner wrote:
> When we are parsing input arguments we should really use stroull to get
> unsigned long long numbers, since this is what we can specify on the
> command line. With this fix it should parse long numbers on the 32 bit
> architecture correctly.
> 
> Signed-off-by: Lukas Czerner <lczerner at redhat.com>

This looks good, and it can be applied independent of the
first patch in this series.  (And at this point I plan to
commit this first rather than wait.)

Reviewed-by: Alex Elder <aelder at sgi.com>





More information about the xfs mailing list