[PATCH] xfsprogs: add fallocate command to xfs_io
Christoph Hellwig
hch at infradead.org
Fri May 15 12:13:24 CDT 2009
On Sun, May 10, 2009 at 07:30:13PM -0500, Eric Sandeen wrote:
> Based on Dave's earlier patch, but now we have an fallocate
> glibc call... this also adds autoconf magic and a manpage
> update.
>
> (hopefully not too #ifdef-heavy....)
Looks good to me and seems to work.
> +#if defined(HAVE_FALLOCATE)
> +#include <linux/falloc.h>
> +#endif
What about just using #ifdef HAVE_FALLOCATE everywhere?
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the xfs
mailing list