diff options
author | Tim Shimmin <tes@sgi.com> | 2008-06-22 23:25:09 -0400 |
---|---|---|
committer | Niv Sardi <xaiki@debian.org> | 2008-07-28 02:58:57 -0400 |
commit | 61f10fad1947116055c694321d9d8f21152c0582 (patch) | |
tree | f9b9c1d9eeecd4321303c2b48428cbeae90c719d /fs/xfs/xfs_attr.h | |
parent | 6278debdf95b100a516b803f90d6f11b41c34171 (diff) |
[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>
Diffstat (limited to 'fs/xfs/xfs_attr.h')
-rw-r--r-- | fs/xfs/xfs_attr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_attr.h b/fs/xfs/xfs_attr.h index 41469434f413..3115dcc67236 100644 --- a/fs/xfs/xfs_attr.h +++ b/fs/xfs/xfs_attr.h | |||
@@ -126,7 +126,7 @@ typedef struct xfs_attr_list_context { | |||
126 | struct attrlist_cursor_kern *cursor; /* position in list */ | 126 | struct attrlist_cursor_kern *cursor; /* position in list */ |
127 | char *alist; /* output buffer */ | 127 | char *alist; /* output buffer */ |
128 | int seen_enough; /* T/F: seen enough of list? */ | 128 | int seen_enough; /* T/F: seen enough of list? */ |
129 | int count; /* num used entries */ | 129 | ssize_t count; /* num used entries */ |
130 | int dupcnt; /* count dup hashvals seen */ | 130 | int dupcnt; /* count dup hashvals seen */ |
131 | int bufsize; /* total buffer size */ | 131 | int bufsize; /* total buffer size */ |
132 | int firstu; /* first used byte in buffer */ | 132 | int firstu; /* first used byte in buffer */ |