parent
2309fb8ef4
commit
f7f4f4dd69
@ -1,10 +1,4 @@ |
||||
#ifndef __CRAMFS_H |
||||
#define __CRAMFS_H |
||||
|
||||
#include <uapi/linux/cramfs_fs.h> |
||||
|
||||
/* Uncompression interfaces to the underlying zlib */ |
||||
int cramfs_uncompress_block(void *dst, int dstlen, void *src, int srclen); |
||||
int cramfs_uncompress_init(void); |
||||
void cramfs_uncompress_exit(void); |
||||
#endif |
@ -1,20 +0,0 @@ |
||||
#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; |
||||
}; |
||||
|
||||
static inline struct cramfs_sb_info *CRAMFS_SB(struct super_block *sb) |
||||
{ |
||||
return sb->s_fs_info; |
||||
} |
||||
|
||||
#endif |
Loading…
Reference in new issue