From: Christoph Hellwig <hch@lst.de>
To: Timothy Shimmin <tes@sgi.com>
Cc: Christoph Hellwig <hch@lst.de>, xfs@oss.sgi.com
Subject: Re: [PATCH 1/2] simplify xfs_vn_listxattr
Date: Fri, 6 Jun 2008 07:43:47 +0200 [thread overview]
Message-ID: <20080606054347.GA29902@lst.de> (raw)
In-Reply-To: <4848BFE8.6000205@sgi.com>
On Fri, Jun 06, 2008 at 02:41:12PM +1000, Timothy Shimmin wrote:
> Need to fix param type.
>
> re:
>
> static int
> list_one_attr(const char *name, const size_t len, void *data,
> size_t size, ssize_t *result)
>
> typedef struct xfs_attr_list_context {
> struct xfs_inode *dp; /* inode */
> struct attrlist_cursor_kern *cursor; /* position in list */
> char *alist; /* output buffer */
> int seen_enough; /* T/F: seen enough of list? */
> int count; /* num used entries */
>
> => mismatch type on &context.count (int) and list_one_attr's result
> param (ssize_t => long)
Yes, didn't see that on my 32-bit machine :) count should probably
be ssize_t.
next prev parent reply other threads:[~2008-06-06 5:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-03 11:48 [PATCH 1/2] simplify xfs_vn_listxattr Christoph Hellwig
2008-06-05 7:58 ` Timothy Shimmin
2008-06-06 4:41 ` Timothy Shimmin
2008-06-06 5:43 ` Christoph Hellwig [this message]
2008-06-13 4:09 ` Timothy Shimmin
2008-06-13 16:24 ` Christoph Hellwig
2008-06-14 15:17 ` Christoph Hellwig
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=20080606054347.GA29902@lst.de \
--to=hch@lst.de \
--cc=tes@sgi.com \
--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