summaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorTim Shimmin <tes@sgi.com>2008-06-23 13:25:09 +1000
committerNiv Sardi <xaiki@debian.org>2008-07-28 16:58:57 +1000
commit61f10fad1947116055c694321d9d8f21152c0582 (patch)
treef9b9c1d9eeecd4321303c2b48428cbeae90c719d /fs/xfs
parent6278debdf95b100a516b803f90d6f11b41c34171 (diff)
downloadlinux-61f10fad1947116055c694321d9d8f21152c0582.tar.gz
linux-61f10fad1947116055c694321d9d8f21152c0582.tar.bz2
linux-61f10fad1947116055c694321d9d8f21152c0582.zip
[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')
-rw-r--r--fs/xfs/xfs_attr.h2
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 {
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 */