Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
f7f4f4dd
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f7f4f4dd
编写于
12月 10, 2013
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
cramfs: take headers to fs/cramfs
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
2309fb8e
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
23 addition
and
35 deletion
+23
-35
arch/blackfin/kernel/setup.c
arch/blackfin/kernel/setup.c
+1
-1
arch/cris/arch-v32/drivers/axisflashmap.c
arch/cris/arch-v32/drivers/axisflashmap.c
+0
-2
fs/cramfs/inode.c
fs/cramfs/inode.c
+20
-4
fs/cramfs/internal.h
fs/cramfs/internal.h
+0
-6
fs/cramfs/uncompress.c
fs/cramfs/uncompress.c
+1
-1
include/linux/cramfs_fs_sb.h
include/linux/cramfs_fs_sb.h
+0
-20
init/do_mounts_rd.c
init/do_mounts_rd.c
+1
-1
未找到文件。
arch/blackfin/kernel/setup.c
浏览文件 @
f7f4f4dd
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
#ifdef CONFIG_MTD_UCLINUX
#ifdef CONFIG_MTD_UCLINUX
#include <linux/mtd/map.h>
#include <linux/mtd/map.h>
#include <linux/ext2_fs.h>
#include <linux/ext2_fs.h>
#include <linux/cramfs_fs.h>
#include <
uapi/
linux/cramfs_fs.h>
#include <linux/romfs_fs.h>
#include <linux/romfs_fs.h>
#endif
#endif
...
...
arch/cris/arch-v32/drivers/axisflashmap.c
浏览文件 @
f7f4f4dd
...
@@ -24,8 +24,6 @@
...
@@ -24,8 +24,6 @@
#include <linux/mtd/mtdram.h>
#include <linux/mtd/mtdram.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/partitions.h>
#include <linux/cramfs_fs.h>
#include <asm/axisflashmap.h>
#include <asm/axisflashmap.h>
#include <asm/mmu.h>
#include <asm/mmu.h>
...
...
fs/cramfs/inode.c
浏览文件 @
f7f4f4dd
...
@@ -17,14 +17,30 @@
...
@@ -17,14 +17,30 @@
#include <linux/init.h>
#include <linux/init.h>
#include <linux/string.h>
#include <linux/string.h>
#include <linux/blkdev.h>
#include <linux/blkdev.h>
#include <linux/cramfs_fs.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/cramfs_fs_sb.h>
#include <linux/vfs.h>
#include <linux/vfs.h>
#include <linux/mutex.h>
#include <linux/mutex.h>
#include <uapi/linux/cramfs_fs.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include "internal.h"
/*
* 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
;
}
static
const
struct
super_operations
cramfs_ops
;
static
const
struct
super_operations
cramfs_ops
;
static
const
struct
inode_operations
cramfs_dir_inode_operations
;
static
const
struct
inode_operations
cramfs_dir_inode_operations
;
static
const
struct
file_operations
cramfs_directory_operations
;
static
const
struct
file_operations
cramfs_directory_operations
;
...
@@ -221,7 +237,7 @@ static void *cramfs_read(struct super_block *sb, unsigned int offset, unsigned i
...
@@ -221,7 +237,7 @@ static void *cramfs_read(struct super_block *sb, unsigned int offset, unsigned i
static
void
cramfs_kill_sb
(
struct
super_block
*
sb
)
static
void
cramfs_kill_sb
(
struct
super_block
*
sb
)
{
{
struct
cramfs_sb_info
*
sbi
=
sb
->
s_fs_info
;
struct
cramfs_sb_info
*
sbi
=
CRAMFS_SB
(
sb
)
;
kill_block_super
(
sb
);
kill_block_super
(
sb
);
kfree
(
sbi
);
kfree
(
sbi
);
}
}
...
...
include/linux/cramfs_fs
.h
→
fs/cramfs/internal
.h
浏览文件 @
f7f4f4dd
#ifndef __CRAMFS_H
#define __CRAMFS_H
#include <uapi/linux/cramfs_fs.h>
/* Uncompression interfaces to the underlying zlib */
/* Uncompression interfaces to the underlying zlib */
int
cramfs_uncompress_block
(
void
*
dst
,
int
dstlen
,
void
*
src
,
int
srclen
);
int
cramfs_uncompress_block
(
void
*
dst
,
int
dstlen
,
void
*
src
,
int
srclen
);
int
cramfs_uncompress_init
(
void
);
int
cramfs_uncompress_init
(
void
);
void
cramfs_uncompress_exit
(
void
);
void
cramfs_uncompress_exit
(
void
);
#endif
fs/cramfs/uncompress.c
浏览文件 @
f7f4f4dd
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/vmalloc.h>
#include <linux/vmalloc.h>
#include <linux/zlib.h>
#include <linux/zlib.h>
#include
<linux/cramfs_fs.h>
#include
"internal.h"
static
z_stream
stream
;
static
z_stream
stream
;
static
int
initialized
;
static
int
initialized
;
...
...
include/linux/cramfs_fs_sb.h
已删除
100644 → 0
浏览文件 @
2309fb8e
#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
init/do_mounts_rd.c
浏览文件 @
f7f4f4dd
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
#include <linux/minix_fs.h>
#include <linux/minix_fs.h>
#include <linux/ext2_fs.h>
#include <linux/ext2_fs.h>
#include <linux/romfs_fs.h>
#include <linux/romfs_fs.h>
#include <linux/cramfs_fs.h>
#include <
uapi/
linux/cramfs_fs.h>
#include <linux/initrd.h>
#include <linux/initrd.h>
#include <linux/string.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/slab.h>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录