[PATCH] xfstests: add SEEK_DATA/SEEK_HOLE sanity checker

Mark Tinguely tinguely at sgi.com
Fri Jan 6 09:54:29 CST 2012


On 12/28/11 07:41, Jeff Liu wrote:

> +
> +static ssize_t do_pwrite(int fd, const void *buf, size_t count, off_t
> offset)
> +{
> +       ssize_t ret, written = 0;
> +
> +       while (count>  written) {
> +               ret = pwrite(fd, buf + written, count - written, offset
> + written);
>


I believe there is a missing "-" between "offset" and "written".

The patchworks version (3108) was truncated.

There are some line wraps on the patch file, which give patch/quilt errors.

Minor text editing.

--Mark Tinguely.




More information about the xfs mailing list