sh64: arch/sh64/kernel/signal.c: duplicate include removal
[linux-2.6/mini2440.git] / include / linux / ext2_fs_sb.h
blobd149f2959e671093bea029d5f43da4a7b53453a3
1 /*
2 * linux/include/linux/ext2_fs_sb.h
4 * Copyright (C) 1992, 1993, 1994, 1995
5 * Remy Card (card@masi.ibp.fr)
6 * Laboratoire MASI - Institut Blaise Pascal
7 * Universite Pierre et Marie Curie (Paris VI)
9 * from
11 * linux/include/linux/minix_fs_sb.h
13 * Copyright (C) 1991, 1992 Linus Torvalds
16 #ifndef _LINUX_EXT2_FS_SB
17 #define _LINUX_EXT2_FS_SB
19 #include <linux/blockgroup_lock.h>
20 #include <linux/percpu_counter.h>
23 * second extended-fs super-block data in memory
25 struct ext2_sb_info {
26 unsigned long s_frag_size; /* Size of a fragment in bytes */
27 unsigned long s_frags_per_block;/* Number of fragments per block */
28 unsigned long s_inodes_per_block;/* Number of inodes per block */
29 unsigned long s_frags_per_group;/* Number of fragments in a group */
30 unsigned long s_blocks_per_group;/* Number of blocks in a group */
31 unsigned long s_inodes_per_group;/* Number of inodes in a group */
32 unsigned long s_itb_per_group; /* Number of inode table blocks per group */
33 unsigned long s_gdb_count; /* Number of group descriptor blocks */
34 unsigned long s_desc_per_block; /* Number of group descriptors per block */
35 unsigned long s_groups_count; /* Number of groups in the fs */
36 unsigned long s_overhead_last; /* Last calculated overhead */
37 unsigned long s_blocks_last; /* Last seen block count */
38 struct buffer_head * s_sbh; /* Buffer containing the super block */
39 struct ext2_super_block * s_es; /* Pointer to the super block in the buffer */
40 struct buffer_head ** s_group_desc;
41 unsigned long s_mount_opt;
42 uid_t s_resuid;
43 gid_t s_resgid;
44 unsigned short s_mount_state;
45 unsigned short s_pad;
46 int s_addr_per_block_bits;
47 int s_desc_per_block_bits;
48 int s_inode_size;
49 int s_first_ino;
50 spinlock_t s_next_gen_lock;
51 u32 s_next_generation;
52 unsigned long s_dir_count;
53 u8 *s_debts;
54 struct percpu_counter s_freeblocks_counter;
55 struct percpu_counter s_freeinodes_counter;
56 struct percpu_counter s_dirs_counter;
57 struct blockgroup_lock s_blockgroup_lock;
60 #endif /* _LINUX_EXT2_FS_SB */