diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/linux/adfs_fs_sb.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/linux/adfs_fs_sb.h')
-rw-r--r-- | include/linux/adfs_fs_sb.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/include/linux/adfs_fs_sb.h b/include/linux/adfs_fs_sb.h new file mode 100644 index 000000000000..d9bf05c02ccc --- /dev/null +++ b/include/linux/adfs_fs_sb.h | |||
@@ -0,0 +1,38 @@ | |||
1 | /* | ||
2 | * linux/include/linux/adfs_fs_sb.h | ||
3 | * | ||
4 | * Copyright (C) 1997-1999 Russell King | ||
5 | */ | ||
6 | |||
7 | #ifndef _ADFS_FS_SB | ||
8 | #define _ADFS_FS_SB | ||
9 | |||
10 | /* | ||
11 | * Forward-declare this | ||
12 | */ | ||
13 | struct adfs_discmap; | ||
14 | struct adfs_dir_ops; | ||
15 | |||
16 | /* | ||
17 | * ADFS file system superblock data in memory | ||
18 | */ | ||
19 | struct adfs_sb_info { | ||
20 | struct adfs_discmap *s_map; /* bh list containing map */ | ||
21 | struct adfs_dir_ops *s_dir; /* directory operations */ | ||
22 | |||
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 */ | ||
27 | |||
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 */ | ||
36 | }; | ||
37 | |||
38 | #endif | ||