blob: c1be4c2264862e0f768b6d1cc129eab37bea3400 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * linux/include/linux/ufs_fs_sb.h
3 *
4 * Copyright (C) 1996
5 * Adrian Rodriguez (adrian@franklins-tower.rutgers.edu)
6 * Laboratory for Computer Science Research Computing Facility
7 * Rutgers, The State University of New Jersey
8 *
9 * $Id: ufs_fs_sb.h,v 1.8 1998/05/06 12:04:40 jj Exp $
10 *
11 * Write support by Daniel Pirkl <daniel.pirkl@email.cz>
12 */
13
14#ifndef __LINUX_UFS_FS_SB_H
15#define __LINUX_UFS_FS_SB_H
16
17
18#define UFS_MAX_GROUP_LOADED 8
19#define UFS_CGNO_EMPTY ((unsigned)-1)
20
21struct ufs_sb_private_info;
22struct ufs_cg_private_info;
23struct ufs_csum;
24#define UFS_MAXCSBUFS 31
25
26struct ufs_sb_info {
27 struct ufs_sb_private_info * s_uspi;
28 struct ufs_csum * s_csp[UFS_MAXCSBUFS];
29 unsigned s_bytesex;
30 unsigned s_flags;
31 struct buffer_head ** s_ucg;
32 struct ufs_cg_private_info * s_ucpi[UFS_MAX_GROUP_LOADED];
33 unsigned s_cgno[UFS_MAX_GROUP_LOADED];
34 unsigned short s_cg_loaded;
35 unsigned s_mount_opt;
36};
37
38#endif