Re: [PATCH] xfstests: add SEEK_DATA/SEEK_HOLE sanity checker

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux