summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_quota.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2005-11-02 02:31:41 +0300
committerNathan Scott <nathans@sgi.com>2005-11-02 02:31:41 +0300
commitc310ab6c071a688e5291028972d1ae8314f67536 (patch)
tree7ee30ba83f67139e5353ae45b8e18d9097198009 /fs/xfs/xfs_quota.h
parent30dab21abbca37636091a6d02e94dbcd6e07b530 (diff)
downloadlinux-c310ab6c071a688e5291028972d1ae8314f67536.tar.xz
[XFS] Fix signedness issues in dquot ID handling, allowing uids/gids above
MAXINT SGI-PV: 942528 SGI-Modid: xfs-linux:xfs-kern:23828a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_quota.h')
-rw-r--r--fs/xfs/xfs_quota.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_quota.h b/fs/xfs/xfs_quota.h
index 32cb79752d5d..ed965883f702 100644
--- a/fs/xfs/xfs_quota.h
+++ b/fs/xfs/xfs_quota.h
@@ -42,7 +42,7 @@
* uid_t and gid_t are hard-coded to 32 bits in the inode.
* Hence, an 'id' in a dquot is 32 bits..
*/
-typedef __int32_t xfs_dqid_t;
+typedef __uint32_t xfs_dqid_t;
/*
* Eventhough users may not have quota limits occupying all 64-bits,