aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_superblock.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jfs/jfs_superblock.h')
-rw-r--r--fs/jfs/jfs_superblock.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/fs/jfs/jfs_superblock.h b/fs/jfs/jfs_superblock.h
index 682cf1a68a18..884fc21ab8ee 100644
--- a/fs/jfs/jfs_superblock.h
+++ b/fs/jfs/jfs_superblock.h
@@ -3,16 +3,16 @@
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify 4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by 5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or 6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version. 7 * (at your option) any later version.
8 * 8 *
9 * This program is distributed in the hope that it will be useful, 9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
12 * the GNU General Public License for more details. 12 * the GNU General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software 15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */ 17 */
18#ifndef _H_JFS_SUPERBLOCK 18#ifndef _H_JFS_SUPERBLOCK
@@ -21,14 +21,14 @@
21/* 21/*
22 * make the magic number something a human could read 22 * make the magic number something a human could read
23 */ 23 */
24#define JFS_MAGIC "JFS1" /* Magic word */ 24#define JFS_MAGIC "JFS1" /* Magic word */
25 25
26#define JFS_VERSION 2 /* Version number: Version 2 */ 26#define JFS_VERSION 2 /* Version number: Version 2 */
27 27
28#define LV_NAME_SIZE 11 /* MUST BE 11 for OS/2 boot sector */ 28#define LV_NAME_SIZE 11 /* MUST BE 11 for OS/2 boot sector */
29 29
30/* 30/*
31 * aggregate superblock 31 * aggregate superblock
32 * 32 *
33 * The name superblock is too close to super_block, so the name has been 33 * The name superblock is too close to super_block, so the name has been
34 * changed to jfs_superblock. The utilities are still using the old name. 34 * changed to jfs_superblock. The utilities are still using the old name.
@@ -40,7 +40,7 @@ struct jfs_superblock {
40 __le64 s_size; /* 8: aggregate size in hardware/LVM blocks; 40 __le64 s_size; /* 8: aggregate size in hardware/LVM blocks;
41 * VFS: number of blocks 41 * VFS: number of blocks
42 */ 42 */
43 __le32 s_bsize; /* 4: aggregate block size in bytes; 43 __le32 s_bsize; /* 4: aggregate block size in bytes;
44 * VFS: fragment size 44 * VFS: fragment size
45 */ 45 */
46 __le16 s_l2bsize; /* 2: log2 of s_bsize */ 46 __le16 s_l2bsize; /* 2: log2 of s_bsize */
@@ -54,7 +54,7 @@ struct jfs_superblock {
54 __le32 s_flag; /* 4: aggregate attributes: 54 __le32 s_flag; /* 4: aggregate attributes:
55 * see jfs_filsys.h 55 * see jfs_filsys.h
56 */ 56 */
57 __le32 s_state; /* 4: mount/unmount/recovery state: 57 __le32 s_state; /* 4: mount/unmount/recovery state:
58 * see jfs_filsys.h 58 * see jfs_filsys.h
59 */ 59 */
60 __le32 s_compress; /* 4: > 0 if data compression */ 60 __le32 s_compress; /* 4: > 0 if data compression */
@@ -75,11 +75,11 @@ struct jfs_superblock {
75 struct timestruc_t s_time; /* 8: time last updated */ 75 struct timestruc_t s_time; /* 8: time last updated */
76 76
77 __le32 s_fsckloglen; /* 4: Number of filesystem blocks reserved for 77 __le32 s_fsckloglen; /* 4: Number of filesystem blocks reserved for
78 * the fsck service log. 78 * the fsck service log.
79 * N.B. These blocks are divided among the 79 * N.B. These blocks are divided among the
80 * versions kept. This is not a per 80 * versions kept. This is not a per
81 * version size. 81 * version size.
82 * N.B. These blocks are included in the 82 * N.B. These blocks are included in the
83 * length field of s_fsckpxd. 83 * length field of s_fsckpxd.
84 */ 84 */
85 s8 s_fscklog; /* 1: which fsck service log is most recent 85 s8 s_fscklog; /* 1: which fsck service log is most recent
@@ -87,7 +87,7 @@ struct jfs_superblock {
87 * 1 => the first one 87 * 1 => the first one
88 * 2 => the 2nd one 88 * 2 => the 2nd one
89 */ 89 */
90 char s_fpack[11]; /* 11: file system volume name 90 char s_fpack[11]; /* 11: file system volume name
91 * N.B. This must be 11 bytes to 91 * N.B. This must be 11 bytes to
92 * conform with the OS/2 BootSector 92 * conform with the OS/2 BootSector
93 * requirements 93 * requirements