[XFS] Fix up warning for xfs_vn_listxatt's call of list_one_attr() with

context count of ssize_t versus int. Change context count to be ssize_t.

SGI-PV: 983395

SGI-Modid: xfs-linux-melb:xfs-kern:31333a

Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
This commit is contained in:
Tim Shimmin 2008-06-23 13:25:09 +10:00 committed by Niv Sardi
parent 6278debdf9
commit 61f10fad19

View File

@ -126,7 +126,7 @@ typedef struct xfs_attr_list_context {
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 */
ssize_t count; /* num used entries */
int dupcnt; /* count dup hashvals seen */
int bufsize; /* total buffer size */
int firstu; /* first used byte in buffer */