diff options
author | Christoph Hellwig <hch@lst.de> | 2008-11-27 22:23:39 -0500 |
---|---|---|
committer | Niv Sardi <xaiki@sgi.com> | 2008-11-30 19:37:42 -0500 |
commit | 51ce16d519da0bc3c548e0facef7cb3aab1ac8cc (patch) | |
tree | ef01910a32368377514f0d61022b1d9b1de7c41d /fs/xfs/xfs_itable.c | |
parent | 81591fe2db19d0fc1ec2aaaa6a790a5ab97ac3ab (diff) |
[XFS] kill XFS_DINODE_VERSION_ defines
These names don't add any value at all over just using the numerical
values.
(First sent on October 9th)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_itable.c')
-rw-r--r-- | fs/xfs/xfs_itable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c index b3578cdc33dd..2cf16f4695ea 100644 --- a/fs/xfs/xfs_itable.c +++ b/fs/xfs/xfs_itable.c | |||
@@ -139,7 +139,7 @@ xfs_bulkstat_one_dinode( | |||
139 | * the new format. We don't change the version number so that we | 139 | * the new format. We don't change the version number so that we |
140 | * can distinguish this from a real new format inode. | 140 | * can distinguish this from a real new format inode. |
141 | */ | 141 | */ |
142 | if (dic->di_version == XFS_DINODE_VERSION_1) { | 142 | if (dic->di_version == 1) { |
143 | buf->bs_nlink = be16_to_cpu(dic->di_onlink); | 143 | buf->bs_nlink = be16_to_cpu(dic->di_onlink); |
144 | buf->bs_projid = 0; | 144 | buf->bs_projid = 0; |
145 | } else { | 145 | } else { |