blob: e3ff06de7f9dddecaa23f1db164eb7bad69a0fae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef _CRAMFS_FS_SB
#define _CRAMFS_FS_SB
/*
* cramfs super-block data in memory
*/
struct cramfs_sb_info {
unsigned long magic;
unsigned long size;
unsigned long blocks;
unsigned long files;
unsigned long flags;
#ifdef CONFIG_CRAMFS_LINEAR
unsigned long linear_phys_addr;
char * linear_virt_addr;
#endif /* CONFIG_CRAMFS_LINEAR */
};
static inline struct cramfs_sb_info *CRAMFS_SB(struct super_block *sb)
{
return sb->s_fs_info;
}
#endif
|