2005-04-17 06:20:36 +08:00
|
|
|
/*
|
|
|
|
* linux/include/linux/ufs_fs_sb.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 1996
|
|
|
|
* Adrian Rodriguez (adrian@franklins-tower.rutgers.edu)
|
|
|
|
* Laboratory for Computer Science Research Computing Facility
|
|
|
|
* Rutgers, The State University of New Jersey
|
|
|
|
*
|
|
|
|
* $Id: ufs_fs_sb.h,v 1.8 1998/05/06 12:04:40 jj Exp $
|
|
|
|
*
|
|
|
|
* Write support by Daniel Pirkl <daniel.pirkl@email.cz>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __LINUX_UFS_FS_SB_H
|
|
|
|
#define __LINUX_UFS_FS_SB_H
|
|
|
|
|
|
|
|
|
|
|
|
#define UFS_MAX_GROUP_LOADED 8
|
|
|
|
#define UFS_CGNO_EMPTY ((unsigned)-1)
|
|
|
|
|
|
|
|
struct ufs_sb_private_info;
|
|
|
|
struct ufs_cg_private_info;
|
|
|
|
struct ufs_csum;
|
|
|
|
|
|
|
|
struct ufs_sb_info {
|
|
|
|
struct ufs_sb_private_info * s_uspi;
|
2006-02-03 19:04:04 +08:00
|
|
|
struct ufs_csum * s_csp;
|
2005-04-17 06:20:36 +08:00
|
|
|
unsigned s_bytesex;
|
|
|
|
unsigned s_flags;
|
|
|
|
struct buffer_head ** s_ucg;
|
|
|
|
struct ufs_cg_private_info * s_ucpi[UFS_MAX_GROUP_LOADED];
|
|
|
|
unsigned s_cgno[UFS_MAX_GROUP_LOADED];
|
|
|
|
unsigned short s_cg_loaded;
|
|
|
|
unsigned s_mount_opt;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|