On Tue, Jan 12, 2010 at 03:25:13PM -0500, Josef Bacik wrote:
> df is a very loaded question in btrfs. This gives us a way to get the per-space
> usage information so we can tell exactly what is in use where. This will help
> us figure out ENOSPC problems, and help users better understand where their disk
> space is going.
>
> diff --git a/fs/btrfs/ioctl.h b/fs/btrfs/ioctl.h
> index 9e5074c..850e0ee 100644
> --- a/fs/btrfs/ioctl.h
> +++ b/fs/btrfs/ioctl.h
> @@ -54,6 +54,18 @@ struct btrfs_ioctl_subvol_leaf {
> struct btrfs_ioctl_subvol_items items[];
> };
>
> +struct btrfs_ioctl_space_info {
> + u32 flags;
> + u64 total_bytes;
> + u64 used_bytes;
> +};
Could you please bump that u32 to a u64?
-chris
--
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