mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
cramfs: take headers to fs/cramfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
2309fb8ef4
commit
f7f4f4dd69
7 changed files with 23 additions and 35 deletions
|
|
@ -1,10 +0,0 @@
|
|||
#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 a new issue