On Tue, Apr 21, 2015 at 11:38:47PM -0400, Zygo Blaxell wrote: > The BTRFS_IOC_RESIZE ioctl returns 0 on success, negative for POSIX > errors, and positive for btrfs-specific errors. > > If resize fails with a btrfs-specific error, decode the error and > report it. If we can't decode the error, report its numeric value so > that the userspace tool is not instantly useless when a new error code > is defined in the kernel. > > Exit with non-zero status on any resize error. This is very important > for scripts that will shrink the underlying storage when btrfs reports > success! Added the signed-off-by and applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
