btrfs filesystem defragment exits with non-zero return code (20) upon success

2012-06-27 Thread Lenz Grimmer
Hi, running btrfs filesystem defrag somehow always returns a non-zero exit code, even when it succeeds: [lenz@metis btrfs-progs]% sudo ./btrfs filesystem defrag -v /mnt /mnt Btrfs v0.19-102-g2482539-dirty [lenz@metis btrfs-progs]% echo $? 20 [lenz@metis btrfs-progs]% sudo ./btrfs filesystem

Re: btrfs filesystem defragment exits with non-zero return code (20) upon success

2012-06-27 Thread Hugo Mills
On Wed, Jun 27, 2012 at 02:05:55PM +0200, Lenz Grimmer wrote: Hi, running btrfs filesystem defrag somehow always returns a non-zero exit code, even when it succeeds: Yes, this is a known problem, and one that's on my list of things to deal with. Thanks for the reminder, though. I'm no