diff options
author | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | 2007-06-06 16:28:35 -0400 |
---|---|---|
committer | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | 2007-06-06 16:28:35 -0400 |
commit | f720e3ba558680cc7dd3995d005bdc8ee2ef46af (patch) | |
tree | 7217f0618795aa1c0a097adf73442842e6fd668c /fs/jfs/jfs_dinode.h | |
parent | 5ecd3100e695228ac5e0ce0e325e252c0f11806f (diff) |
JFS: Whitespace cleanup and remove some dead code
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Diffstat (limited to 'fs/jfs/jfs_dinode.h')
-rw-r--r-- | fs/jfs/jfs_dinode.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/fs/jfs/jfs_dinode.h b/fs/jfs/jfs_dinode.h index 40b20111383c..c387540d3425 100644 --- a/fs/jfs/jfs_dinode.h +++ b/fs/jfs/jfs_dinode.h | |||
@@ -19,23 +19,23 @@ | |||
19 | #define _H_JFS_DINODE | 19 | #define _H_JFS_DINODE |
20 | 20 | ||
21 | /* | 21 | /* |
22 | * jfs_dinode.h: on-disk inode manager | 22 | * jfs_dinode.h: on-disk inode manager |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #define INODESLOTSIZE 128 | 25 | #define INODESLOTSIZE 128 |
26 | #define L2INODESLOTSIZE 7 | 26 | #define L2INODESLOTSIZE 7 |
27 | #define log2INODESIZE 9 /* log2(bytes per dinode) */ | 27 | #define log2INODESIZE 9 /* log2(bytes per dinode) */ |
28 | 28 | ||
29 | 29 | ||
30 | /* | 30 | /* |
31 | * on-disk inode : 512 bytes | 31 | * on-disk inode : 512 bytes |
32 | * | 32 | * |
33 | * note: align 64-bit fields on 8-byte boundary. | 33 | * note: align 64-bit fields on 8-byte boundary. |
34 | */ | 34 | */ |
35 | struct dinode { | 35 | struct dinode { |
36 | /* | 36 | /* |
37 | * I. base area (128 bytes) | 37 | * I. base area (128 bytes) |
38 | * ------------------------ | 38 | * ------------------------ |
39 | * | 39 | * |
40 | * define generic/POSIX attributes | 40 | * define generic/POSIX attributes |
41 | */ | 41 | */ |
@@ -70,16 +70,16 @@ struct dinode { | |||
70 | __le32 di_acltype; /* 4: Type of ACL */ | 70 | __le32 di_acltype; /* 4: Type of ACL */ |
71 | 71 | ||
72 | /* | 72 | /* |
73 | * Extension Areas. | 73 | * Extension Areas. |
74 | * | 74 | * |
75 | * Historically, the inode was partitioned into 4 128-byte areas, | 75 | * Historically, the inode was partitioned into 4 128-byte areas, |
76 | * the last 3 being defined as unions which could have multiple | 76 | * the last 3 being defined as unions which could have multiple |
77 | * uses. The first 96 bytes had been completely unused until | 77 | * uses. The first 96 bytes had been completely unused until |
78 | * an index table was added to the directory. It is now more | 78 | * an index table was added to the directory. It is now more |
79 | * useful to describe the last 3/4 of the inode as a single | 79 | * useful to describe the last 3/4 of the inode as a single |
80 | * union. We would probably be better off redesigning the | 80 | * union. We would probably be better off redesigning the |
81 | * entire structure from scratch, but we don't want to break | 81 | * entire structure from scratch, but we don't want to break |
82 | * commonality with OS/2's JFS at this time. | 82 | * commonality with OS/2's JFS at this time. |
83 | */ | 83 | */ |
84 | union { | 84 | union { |
85 | struct { | 85 | struct { |
@@ -95,7 +95,7 @@ struct dinode { | |||
95 | } _dir; /* (384) */ | 95 | } _dir; /* (384) */ |
96 | #define di_dirtable u._dir._table | 96 | #define di_dirtable u._dir._table |
97 | #define di_dtroot u._dir._dtroot | 97 | #define di_dtroot u._dir._dtroot |
98 | #define di_parent di_dtroot.header.idotdot | 98 | #define di_parent di_dtroot.header.idotdot |
99 | #define di_DASD di_dtroot.header.DASD | 99 | #define di_DASD di_dtroot.header.DASD |
100 | 100 | ||
101 | struct { | 101 | struct { |
@@ -127,14 +127,14 @@ struct dinode { | |||
127 | #define di_inlinedata u._file._u2._special._u | 127 | #define di_inlinedata u._file._u2._special._u |
128 | #define di_rdev u._file._u2._special._u._rdev | 128 | #define di_rdev u._file._u2._special._u._rdev |
129 | #define di_fastsymlink u._file._u2._special._u._fastsymlink | 129 | #define di_fastsymlink u._file._u2._special._u._fastsymlink |
130 | #define di_inlineea u._file._u2._special._inlineea | 130 | #define di_inlineea u._file._u2._special._inlineea |
131 | } u; | 131 | } u; |
132 | }; | 132 | }; |
133 | 133 | ||
134 | /* extended mode bits (on-disk inode di_mode) */ | 134 | /* extended mode bits (on-disk inode di_mode) */ |
135 | #define IFJOURNAL 0x00010000 /* journalled file */ | 135 | #define IFJOURNAL 0x00010000 /* journalled file */ |
136 | #define ISPARSE 0x00020000 /* sparse file enabled */ | 136 | #define ISPARSE 0x00020000 /* sparse file enabled */ |
137 | #define INLINEEA 0x00040000 /* inline EA area free */ | 137 | #define INLINEEA 0x00040000 /* inline EA area free */ |
138 | #define ISWAPFILE 0x00800000 /* file open for pager swap space */ | 138 | #define ISWAPFILE 0x00800000 /* file open for pager swap space */ |
139 | 139 | ||
140 | /* more extended mode bits: attributes for OS/2 */ | 140 | /* more extended mode bits: attributes for OS/2 */ |