Btrfs-progs: fall back to the v1 ioctl if the new balance ioctl fails
authorChris Mason <chris.mason@oracle.com>
Sun, 5 Feb 2012 15:42:02 +0000 (10:42 -0500)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 5 Feb 2012 19:30:14 +0000 (21:30 +0200)
commitf4766575001815e0219d0d0281c21f3ebcaf1df2
tree3d4155ce21b643b2f531210bb8f196a21b11e9a1
parent6ffdac5e77017cd6d73dd79344eb37da8d1766d0
Btrfs-progs: fall back to the v1 ioctl if the new balance ioctl fails

This only falls back if the plain version of balance start is used.
Any args make us report the ioctl isn't supported.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
cmds-balance.c