[PATCH] crc16: remove w1 specific comments.
[pandora-kernel.git] / include / linux / adfs_fs_sb.h
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