diff options
author | Dave Chinner <dchinner@redhat.com> | 2013-08-12 20:49:26 +1000 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-08-12 16:09:52 -0500 |
commit | 6ca1c9063d1952b20c61136e01e6a8987371616b (patch) | |
tree | a20a77fef2438674b52562f7e156cb5a9ea789d3 /fs/xfs/xfs_types.h | |
parent | 9fbe24d95ea36205a71195b378a163aa829dfe40 (diff) | |
download | kernel_goldelico_gta04-6ca1c9063d1952b20c61136e01e6a8987371616b.tar.gz kernel_goldelico_gta04-6ca1c9063d1952b20c61136e01e6a8987371616b.tar.bz2 kernel_goldelico_gta04-6ca1c9063d1952b20c61136e01e6a8987371616b.zip |
xfs: separate dquot on disk format definitions out of xfs_quota.h
The on disk format definitions of the on-disk dquot, log formats and
quota off log formats are all intertwined with other definitions for
quotas. Separate them out into their own header file so they can
easily be shared with userspace.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_types.h')
-rw-r--r-- | fs/xfs/xfs_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/xfs/xfs_types.h b/fs/xfs/xfs_types.h index 39c48ca64a6..69074ac20ac 100644 --- a/fs/xfs/xfs_types.h +++ b/fs/xfs/xfs_types.h @@ -177,4 +177,10 @@ struct xfs_name { int len; }; +/* + * uid_t and gid_t are hard-coded to 32 bits in the inode. + * Hence, an 'id' in a dquot is 32 bits.. + */ +typedef __uint32_t xfs_dqid_t; + #endif /* __XFS_TYPES_H__ */ |