|
Last change
on this file was
2,
checked in by jglee, 11 years ago
|
|
first commit
|
-
Property svn:executable set to
*
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 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 | #include <asm/types.h> |
|---|
| 11 | |
|---|
| 12 | /* |
|---|
| 13 | * Forward-declare this |
|---|
| 14 | */ |
|---|
| 15 | struct adfs_discmap; |
|---|
| 16 | struct adfs_dir_ops; |
|---|
| 17 | |
|---|
| 18 | /* |
|---|
| 19 | * ADFS file system superblock data in memory |
|---|
| 20 | */ |
|---|
| 21 | struct adfs_sb_info { |
|---|
| 22 | struct adfs_discmap *s_map; /* bh list containing map */ |
|---|
| 23 | struct adfs_dir_ops *s_dir; /* directory operations */ |
|---|
| 24 | |
|---|
| 25 | uid_t s_uid; /* owner uid */ |
|---|
| 26 | gid_t s_gid; /* owner gid */ |
|---|
| 27 | umode_t s_owner_mask; /* ADFS owner perm -> unix perm */ |
|---|
| 28 | umode_t s_other_mask; /* ADFS other perm -> unix perm */ |
|---|
| 29 | |
|---|
| 30 | __u32 s_ids_per_zone; /* max. no ids in one zone */ |
|---|
| 31 | __u32 s_idlen; /* length of ID in map */ |
|---|
| 32 | __u32 s_map_size; /* sector size of a map */ |
|---|
| 33 | unsigned long s_size; /* total size (in blocks) of this fs */ |
|---|
| 34 | signed int s_map2blk; /* shift left by this for map->sector */ |
|---|
| 35 | unsigned int s_log2sharesize;/* log2 share size */ |
|---|
| 36 | __le32 s_version; /* disc format version */ |
|---|
| 37 | unsigned int s_namelen; /* maximum number of characters in name */ |
|---|
| 38 | }; |
|---|
| 39 | |
|---|
| 40 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.