aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dinode.h
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/xfs_dinode.h
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/xfs_dinode.h')
-rw-r--r--fs/xfs/xfs_dinode.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/fs/xfs/xfs_dinode.h b/fs/xfs/xfs_dinode.h
index 0b7ebf922af..162e8726df5 100644
--- a/fs/xfs/xfs_dinode.h
+++ b/fs/xfs/xfs_dinode.h
@@ -18,11 +18,8 @@
18#ifndef __XFS_DINODE_H__ 18#ifndef __XFS_DINODE_H__
19#define __XFS_DINODE_H__ 19#define __XFS_DINODE_H__
20 20
21#define XFS_DINODE_VERSION_1 1 21#define XFS_DINODE_MAGIC 0x494e /* 'IN' */
22#define XFS_DINODE_VERSION_2 2 22#define XFS_DINODE_GOOD_VERSION(v) (((v) == 1 || (v) == 2))
23#define XFS_DINODE_GOOD_VERSION(v) \
24 (((v) == XFS_DINODE_VERSION_1 || (v) == XFS_DINODE_VERSION_2))
25#define XFS_DINODE_MAGIC 0x494e /* 'IN' */
26 23
27typedef struct xfs_timestamp { 24typedef struct xfs_timestamp {
28 __be32 t_sec; /* timestamp seconds */ 25 __be32 t_sec; /* timestamp seconds */