Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
gsplhtlxg
clone-Linux
提交
914e2637
C
clone-Linux
项目概览
gsplhtlxg
/
clone-Linux
通知
2
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
clone-Linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
914e2637
编写于
10月 18, 2006
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[PATCH] severing fs.h, radix-tree.h -> sched.h
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
f6a57033
变更
22
隐藏空白更改
内联
并排
Showing
22 changed file
with
44 addition
and
31 deletion
+44
-31
arch/i386/kernel/acpi/cstate.c
arch/i386/kernel/acpi/cstate.c
+1
-0
drivers/acpi/dock.c
drivers/acpi/dock.c
+1
-0
drivers/char/hw_random/core.c
drivers/char/hw_random/core.c
+1
-0
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm.h
+1
-0
drivers/hwmon/hdaps.c
drivers/hwmon/hdaps.c
+1
-0
drivers/spi/spi_butterfly.c
drivers/spi/spi_butterfly.c
+1
-0
fs/9p/conv.c
fs/9p/conv.c
+1
-0
fs/9p/fcall.c
fs/9p/fcall.c
+1
-0
fs/9p/fid.c
fs/9p/fid.c
+1
-0
fs/9p/v9fs.c
fs/9p/v9fs.c
+1
-0
fs/9p/vfs_dir.c
fs/9p/vfs_dir.c
+1
-0
fs/9p/vfs_file.c
fs/9p/vfs_file.c
+1
-0
fs/inotify.c
fs/inotify.c
+1
-0
fs/jffs2/acl.c
fs/jffs2/acl.c
+1
-0
fs/jffs2/wbuf.c
fs/jffs2/wbuf.c
+1
-0
fs/jfs/ioctl.c
fs/jfs/ioctl.c
+1
-0
fs/proc/root.c
fs/proc/root.c
+1
-0
fs/super.c
fs/super.c
+18
-0
fs/sync.c
fs/sync.c
+1
-0
fs/utimes.c
fs/utimes.c
+1
-0
include/linux/fs.h
include/linux/fs.h
+7
-30
include/linux/radix-tree.h
include/linux/radix-tree.h
+0
-1
未找到文件。
arch/i386/kernel/acpi/cstate.c
浏览文件 @
914e2637
...
...
@@ -11,6 +11,7 @@
#include <linux/init.h>
#include <linux/acpi.h>
#include <linux/cpu.h>
#include <linux/sched.h>
#include <acpi/processor.h>
#include <asm/acpi.h>
...
...
drivers/acpi/dock.c
浏览文件 @
914e2637
...
...
@@ -27,6 +27,7 @@
#include <linux/init.h>
#include <linux/types.h>
#include <linux/notifier.h>
#include <linux/jiffies.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
...
...
drivers/char/hw_random/core.c
浏览文件 @
914e2637
...
...
@@ -36,6 +36,7 @@
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/miscdevice.h>
#include <linux/delay.h>
...
...
drivers/char/tpm/tpm.h
浏览文件 @
914e2637
...
...
@@ -22,6 +22,7 @@
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/miscdevice.h>
#include <linux/platform_device.h>
#include <linux/io.h>
...
...
drivers/hwmon/hdaps.c
浏览文件 @
914e2637
...
...
@@ -33,6 +33,7 @@
#include <linux/module.h>
#include <linux/timer.h>
#include <linux/dmi.h>
#include <linux/jiffies.h>
#include <asm/io.h>
#define HDAPS_LOW_PORT 0x1600
/* first port used by hdaps */
...
...
drivers/spi/spi_butterfly.c
浏览文件 @
914e2637
...
...
@@ -23,6 +23,7 @@
#include <linux/platform_device.h>
#include <linux/parport.h>
#include <linux/sched.h>
#include <linux/spi/spi.h>
#include <linux/spi/spi_bitbang.h>
#include <linux/spi/flash.h>
...
...
fs/9p/conv.c
浏览文件 @
914e2637
...
...
@@ -27,6 +27,7 @@
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/idr.h>
#include <asm/uaccess.h>
#include "debug.h"
...
...
fs/9p/fcall.c
浏览文件 @
914e2637
...
...
@@ -27,6 +27,7 @@
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/idr.h>
#include "debug.h"
...
...
fs/9p/fid.c
浏览文件 @
914e2637
...
...
@@ -23,6 +23,7 @@
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/idr.h>
#include "debug.h"
...
...
fs/9p/v9fs.c
浏览文件 @
914e2637
...
...
@@ -26,6 +26,7 @@
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/parser.h>
#include <linux/idr.h>
...
...
fs/9p/vfs_dir.c
浏览文件 @
914e2637
...
...
@@ -30,6 +30,7 @@
#include <linux/stat.h>
#include <linux/string.h>
#include <linux/smp_lock.h>
#include <linux/sched.h>
#include <linux/inet.h>
#include <linux/idr.h>
...
...
fs/9p/vfs_file.c
浏览文件 @
914e2637
...
...
@@ -26,6 +26,7 @@
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/file.h>
#include <linux/stat.h>
#include <linux/string.h>
...
...
fs/inotify.c
浏览文件 @
914e2637
...
...
@@ -27,6 +27,7 @@
#include <linux/idr.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/writeback.h>
...
...
fs/jffs2/acl.c
浏览文件 @
914e2637
...
...
@@ -11,6 +11,7 @@
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/time.h>
#include <linux/crc32.h>
#include <linux/jffs2.h>
...
...
fs/jffs2/wbuf.c
浏览文件 @
914e2637
...
...
@@ -19,6 +19,7 @@
#include <linux/crc32.h>
#include <linux/mtd/nand.h>
#include <linux/jiffies.h>
#include <linux/sched.h>
#include "nodelist.h"
...
...
fs/jfs/ioctl.c
浏览文件 @
914e2637
...
...
@@ -9,6 +9,7 @@
#include <linux/ctype.h>
#include <linux/capability.h>
#include <linux/time.h>
#include <linux/sched.h>
#include <asm/current.h>
#include <asm/uaccess.h>
...
...
fs/proc/root.c
浏览文件 @
914e2637
...
...
@@ -13,6 +13,7 @@
#include <linux/proc_fs.h>
#include <linux/stat.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/module.h>
#include <linux/bitops.h>
#include <linux/smp_lock.h>
...
...
fs/super.c
浏览文件 @
914e2637
...
...
@@ -220,6 +220,24 @@ static int grab_super(struct super_block *s) __releases(sb_lock)
return
0
;
}
/*
* Superblock locking. We really ought to get rid of these two.
*/
void
lock_super
(
struct
super_block
*
sb
)
{
get_fs_excl
();
mutex_lock
(
&
sb
->
s_lock
);
}
void
unlock_super
(
struct
super_block
*
sb
)
{
put_fs_excl
();
mutex_unlock
(
&
sb
->
s_lock
);
}
EXPORT_SYMBOL
(
lock_super
);
EXPORT_SYMBOL
(
unlock_super
);
/*
* Write out and wait upon all dirty data associated with this
* superblock. Filesystem data as well as the underlying block
...
...
fs/sync.c
浏览文件 @
914e2637
...
...
@@ -6,6 +6,7 @@
#include <linux/file.h>
#include <linux/fs.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/writeback.h>
#include <linux/syscalls.h>
#include <linux/linkage.h>
...
...
fs/utimes.c
浏览文件 @
914e2637
...
...
@@ -2,6 +2,7 @@
#include <linux/fs.h>
#include <linux/linkage.h>
#include <linux/namei.h>
#include <linux/sched.h>
#include <linux/utime.h>
#include <asm/uaccess.h>
#include <asm/unistd.h>
...
...
include/linux/fs.h
浏览文件 @
914e2637
...
...
@@ -276,7 +276,7 @@ extern int dir_notify_enable;
#include <linux/radix-tree.h>
#include <linux/prio_tree.h>
#include <linux/init.h>
#include <linux/
sche
d.h>
#include <linux/
pi
d.h>
#include <linux/mutex.h>
#include <asm/atomic.h>
...
...
@@ -977,36 +977,13 @@ enum {
#define vfs_check_frozen(sb, level) \
wait_event((sb)->s_wait_unfrozen, ((sb)->s_frozen < (level)))
static
inline
void
get_fs_excl
(
void
)
{
atomic_inc
(
&
current
->
fs_excl
);
}
static
inline
void
put_fs_excl
(
void
)
{
atomic_dec
(
&
current
->
fs_excl
);
}
static
inline
int
has_fs_excl
(
void
)
{
return
atomic_read
(
&
current
->
fs_excl
);
}
#define get_fs_excl() atomic_inc(¤t->fs_excl)
#define put_fs_excl() atomic_dec(¤t->fs_excl)
#define has_fs_excl() atomic_read(¤t->fs_excl)
/*
* Superblock locking.
*/
static
inline
void
lock_super
(
struct
super_block
*
sb
)
{
get_fs_excl
();
mutex_lock
(
&
sb
->
s_lock
);
}
static
inline
void
unlock_super
(
struct
super_block
*
sb
)
{
put_fs_excl
();
mutex_unlock
(
&
sb
->
s_lock
);
}
/* not quite ready to be deprecated, but... */
extern
void
lock_super
(
struct
super_block
*
);
extern
void
unlock_super
(
struct
super_block
*
);
/*
* VFS helper functions..
...
...
include/linux/radix-tree.h
浏览文件 @
914e2637
...
...
@@ -19,7 +19,6 @@
#ifndef _LINUX_RADIX_TREE_H
#define _LINUX_RADIX_TREE_H
#include <linux/sched.h>
#include <linux/preempt.h>
#include <linux/types.h>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录