aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_ioctl.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-11-27 22:23:39 -0500
committerNiv Sardi <xaiki@sgi.com>2008-11-30 19:37:42 -0500
commit51ce16d519da0bc3c548e0facef7cb3aab1ac8cc (patch)
treeef01910a32368377514f0d61022b1d9b1de7c41d /fs/xfs/linux-2.6/xfs_ioctl.c
parent81591fe2db19d0fc1ec2aaaa6a790a5ab97ac3ab (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/linux-2.6/xfs_ioctl.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_ioctl.c b/fs/xfs/linux-2.6/xfs_ioctl.c
index d59705999534..534b175f3a41 100644
--- a/fs/xfs/linux-2.6/xfs_ioctl.c
+++ b/fs/xfs/linux-2.6/xfs_ioctl.c
@@ -1131,7 +1131,7 @@ xfs_ioctl_setattr(
1131 * the superblock version number since projids didn't 1131 * the superblock version number since projids didn't
1132 * exist before DINODE_VERSION_2 and SB_VERSION_NLINK. 1132 * exist before DINODE_VERSION_2 and SB_VERSION_NLINK.
1133 */ 1133 */
1134 if (ip->i_d.di_version == XFS_DINODE_VERSION_1) 1134 if (ip->i_d.di_version == 1)
1135 xfs_bump_ino_vers2(tp, ip); 1135 xfs_bump_ino_vers2(tp, ip);
1136 } 1136 }
1137 1137