1 /* 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 21 struct ufs_sb_private_info; 22 struct ufs_cg_private_info; 23 struct ufs_csum; 24 #define UFS_MAXCSBUFS 31 25 26 struct ufs_sb_info { 27 struct ufs_sb_private_info * s_uspi; 28 struct ufs_csum * s_csp; 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 39