Re: [Cluster-devel] [PATCH 07/17] quota: Switch -get_dqblk() and -set_dqblk() to use bytes as space units

2015-01-19 Thread Christoph Hellwig
diff --git a/fs/xfs/libxfs/xfs_fs.h b/fs/xfs/libxfs/xfs_fs.h index 18dc721ca19f..f718ba1f2ccb 100644 --- a/fs/xfs/libxfs/xfs_fs.h +++ b/fs/xfs/libxfs/xfs_fs.h @@ -559,18 +559,4 @@ typedef struct xfs_swapext /* XFS_IOC_GETFSUUID -- deprecated 140 */ -#ifndef

[Cluster-devel] [PATCH 07/17] quota: Switch -get_dqblk() and -set_dqblk() to use bytes as space units

2015-01-16 Thread Jan Kara
Currently -get_dqblk() and -set_dqblk() use struct fs_disk_quota which tracks space limits and usage in 512-byte blocks. However VFS quotas track usage in bytes (as some filesystems require that) and we need to somehow pass this information. Upto now it wasn't a problem because we didn't do any