Import 2.2.5pre2
[davej-history.git] / include / linux / adfs_fs_sb.h
blob649b61e450de54882a40723b25296b75ca817edc
1 /*
2 * linux/include/linux/adfs_fs_sb.h
4 * Copyright (C) 1997 Russell King
5 */
7 #ifndef _ADFS_FS_SB
8 #define _ADFS_FS_SB
10 #include <linux/adfs_fs.h>
13 * adfs file system superblock data in memory
15 struct adfs_sb_info {
16 struct buffer_head *s_sbh; /* buffer head containing disc record */
17 struct adfs_discrecord *s_dr; /* pointer to disc record in s_sbh */
18 uid_t s_uid; /* owner uid */
19 gid_t s_gid; /* owner gid */
20 int s_owner_mask; /* ADFS Owner perm -> unix perm */
21 int s_other_mask; /* ADFS Other perm -> unix perm */
22 __u16 s_zone_size; /* size of a map zone in bits */
23 __u16 s_ids_per_zone; /* max. no ids in one zone */
24 __u32 s_idlen; /* length of ID in map */
25 __u32 s_map_size; /* size of a map */
26 __u32 s_zonesize; /* zone size (in map bits) */
27 __u32 s_map_block; /* block address of map */
28 struct buffer_head **s_map; /* bh list containing map */
29 __u32 s_root; /* root disc address */
30 __s8 s_map2blk; /* shift left by this for map->sector */
33 #endif