diff options
author | Dave Chinner <dchinner@redhat.com> | 2013-08-12 10:49:26 (GMT) |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-08-12 21:09:52 (GMT) |
commit | 6ca1c9063d1952b20c61136e01e6a8987371616b (patch) | |
tree | a20a77fef2438674b52562f7e156cb5a9ea789d3 /fs/xfs/xfs_types.h | |
parent | 9fbe24d95ea36205a71195b378a163aa829dfe40 (diff) | |
download | linux-6ca1c9063d1952b20c61136e01e6a8987371616b.tar.xz |
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 39c48ca..69074ac2 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__ */ |