aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dinode.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-11-27 22:23:38 -0500
committerNiv Sardi <xaiki@sgi.com>2008-11-30 19:37:31 -0500
commitd42f08f61c5e7f0ed4c6b6df4c9987ddb85ec66e (patch)
treedfba895d780bf54bb60c284a3b8e702d20719fa4 /fs/xfs/xfs_dinode.h
parentb28708d6a0a3ed65a68f0dcd8e6d1c09f14e5cf3 (diff)
[XFS] kill xfs_ialloc_log_di
xfs_ialloc_log_di is only used to log the full inode core + di_next_unlinked. That means all the offset magic is not nessecary and we can simply use xfs_trans_log_buf directly. Also add a comment describing what we should do here instead. (First sent on October 7th) 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.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/fs/xfs/xfs_dinode.h b/fs/xfs/xfs_dinode.h
index d7cf392cc852..10f9204b81eb 100644
--- a/fs/xfs/xfs_dinode.h
+++ b/fs/xfs/xfs_dinode.h
@@ -106,40 +106,6 @@ typedef struct xfs_dinode
106#define XFS_MAXLINK_1 65535U 106#define XFS_MAXLINK_1 65535U
107 107
108/* 108/*
109 * Bit names for logging disk inodes only
110 */
111#define XFS_DI_MAGIC 0x0000001
112#define XFS_DI_MODE 0x0000002
113#define XFS_DI_VERSION 0x0000004
114#define XFS_DI_FORMAT 0x0000008
115#define XFS_DI_ONLINK 0x0000010
116#define XFS_DI_UID 0x0000020
117#define XFS_DI_GID 0x0000040
118#define XFS_DI_NLINK 0x0000080
119#define XFS_DI_PROJID 0x0000100
120#define XFS_DI_PAD 0x0000200
121#define XFS_DI_ATIME 0x0000400
122#define XFS_DI_MTIME 0x0000800
123#define XFS_DI_CTIME 0x0001000
124#define XFS_DI_SIZE 0x0002000
125#define XFS_DI_NBLOCKS 0x0004000
126#define XFS_DI_EXTSIZE 0x0008000
127#define XFS_DI_NEXTENTS 0x0010000
128#define XFS_DI_NAEXTENTS 0x0020000
129#define XFS_DI_FORKOFF 0x0040000
130#define XFS_DI_AFORMAT 0x0080000
131#define XFS_DI_DMEVMASK 0x0100000
132#define XFS_DI_DMSTATE 0x0200000
133#define XFS_DI_FLAGS 0x0400000
134#define XFS_DI_GEN 0x0800000
135#define XFS_DI_NEXT_UNLINKED 0x1000000
136#define XFS_DI_U 0x2000000
137#define XFS_DI_A 0x4000000
138#define XFS_DI_NUM_BITS 27
139#define XFS_DI_ALL_BITS ((1 << XFS_DI_NUM_BITS) - 1)
140#define XFS_DI_CORE_BITS (XFS_DI_ALL_BITS & ~(XFS_DI_U|XFS_DI_A))
141
142/*
143 * Values for di_format 109 * Values for di_format
144 */ 110 */
145typedef enum xfs_dinode_fmt 111typedef enum xfs_dinode_fmt