btrfs-progs: fix defrag threshold overflow
authorPatrik Lundquist <patrik.lundquist@gmail.com>
Wed, 24 Jun 2015 14:21:06 +0000 (16:21 +0200)
committerDavid Sterba <dsterba@suse.cz>
Thu, 25 Jun 2015 17:32:28 +0000 (19:32 +0200)
commit96cfbbf0ea9fce7ecaa9e03964474f407f6e76ab
treedcb6457f4babe77cc7e66eed3d2019edbfe1fb73
parentce63aed165688343b6cf6c6124a834b395a15291
btrfs-progs: fix defrag threshold overflow

btrfs fi defrag -t 1T overflows the u32 thresh variable and default,
instead of max, threshold is used.

Signed-off-by: Patrik Lundquist <patrik.lundquist@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
cmds-filesystem.c