]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[XFS] Fix up warning for xfs_vn_listxatt's call of list_one_attr() with
authorTim Shimmin <tes@sgi.com>
Mon, 23 Jun 2008 03:25:09 +0000 (13:25 +1000)
committerNiv Sardi <xaiki@debian.org>
Mon, 28 Jul 2008 06:58:57 +0000 (16:58 +1000)
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>
fs/xfs/xfs_attr.h

index 41469434f413047a22e3e41d8921d727da80518f..3115dcc67236cd459ffbbbafdc6f345d1801e512 100644 (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 */