From: Jeff Liu <jeff.liu@oracle.com>
To: Ben Myers <bpm@sgi.com>
Cc: Christoph Hellwig <hch@infradead.org>, xfs@oss.sgi.com
Subject: Re: [PATCH v3 1/2] xfstests: introduce 279 for SEEK_DATA/SEEK_HOLE sanity test
Date: Fri, 11 May 2012 10:32:02 +0800 [thread overview]
Message-ID: <4FAC7A22.1090005@oracle.com> (raw)
In-Reply-To: <20120510202810.GQ16881@sgi.com>
On 05/11/2012 04:28 AM, Ben Myers wrote:
> On Sun, Feb 19, 2012 at 10:44:15PM +0800, Jeff Liu wrote:
>> Introduce 279 for SEEK_DATA/SEEK_HOLE sanity tests.
>>
>> Changes to v3:
>> --------------
>> * Redirect seek sanity test run log to 279.full.
>>
>> Signed-off-by: Jie Liu <jeff.liu@oracle.com>
>
> ...
>
>> diff --git a/src/seek_sanity_test.c b/src/seek_sanity_test.c
>> new file mode 100644
>> index 0000000..8f36dee
>> --- /dev/null
>> +++ b/src/seek_sanity_test.c
>> @@ -0,0 +1,683 @@
>
> ...
>
>> +static void get_file_system(int fd)
>> +{
>> + struct statfs buf;
>> +
>> + if (!fstatfs(fd, &buf))
>> + fprintf(stdout, "File system magic#: 0x%x\n", buf.f_type);
>
> Hrm...
>
> # make
> Building include
> Building lib
> Building ltp
> Building src
> [DEP]
> [CC] seek_sanity_test
> seek_sanity_test.c: In function 'get_file_system':
> seek_sanity_test.c:46: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long int'
> Building aio-dio-regress
> Building m4
>
> I'll fix that up for you.
Thanks a lot!
-Jeff
>
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
prev parent reply other threads:[~2012-05-11 2:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-19 14:44 [PATCH v3 1/2] xfstests: introduce 279 for SEEK_DATA/SEEK_HOLE sanity test Jeff Liu
2012-05-10 20:00 ` Mark Tinguely
2012-05-10 20:28 ` Ben Myers
2012-05-11 2:32 ` Jeff Liu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FAC7A22.1090005@oracle.com \
--to=jeff.liu@oracle.com \
--cc=bpm@sgi.com \
--cc=hch@infradead.org \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox