[PATCH] powerpc: Fix sparsemem with memory holes [was Re: ppc64 oops..]
[linux-2.6.22.y-op.git] / include / linux / adfs_fs_sb.h
blobd9bf05c02ccc9119c748662afcce8125bddd9995
1 /*
2 * linux/include/linux/adfs_fs_sb.h
4 * Copyright (C) 1997-1999 Russell King
5 */
7 #ifndef _ADFS_FS_SB
8 #define _ADFS_FS_SB
11 * Forward-declare this
13 struct adfs_discmap;
14 struct adfs_dir_ops;
17 * ADFS file system superblock data in memory
19 struct adfs_sb_info {
20 struct adfs_discmap *s_map; /* bh list containing map */
21 struct adfs_dir_ops *s_dir; /* directory operations */
23 uid_t s_uid; /* owner uid */
24 gid_t s_gid; /* owner gid */
25 umode_t s_owner_mask; /* ADFS owner perm -> unix perm */
26 umode_t s_other_mask; /* ADFS other perm -> unix perm */
28 __u32 s_ids_per_zone; /* max. no ids in one zone */
29 __u32 s_idlen; /* length of ID in map */
30 __u32 s_map_size; /* sector size of a map */
31 unsigned long s_size; /* total size (in blocks) of this fs */
32 signed int s_map2blk; /* shift left by this for map->sector */
33 unsigned int s_log2sharesize;/* log2 share size */
34 __le32 s_version; /* disc format version */
35 unsigned int s_namelen; /* maximum number of characters in name */
38 #endif