Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17004
b: refs/heads/master
c: fee781e
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jan 9, 2006
1 parent d882243 commit 6165ad2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 80851ef2a5a404e6054211ca96ecd5ac4b06d297
refs/heads/master: fee781e6c25772db862d3322b4745a896022a4f1
2 changes: 2 additions & 0 deletions trunk/fs/proc/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#include <linux/bitops.h>
#include <asm/uaccess.h>

#include "internal.h"

static ssize_t proc_file_read(struct file *file, char __user *buf,
size_t nbytes, loff_t *ppos);
static ssize_t proc_file_write(struct file *file, const char __user *buffer,
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/proc/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <asm/system.h>
#include <asm/uaccess.h>

extern void free_proc_entry(struct proc_dir_entry *);
#include "internal.h"

static inline struct proc_dir_entry * de_get(struct proc_dir_entry *de)
{
Expand Down
4 changes: 4 additions & 0 deletions trunk/fs/proc/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ extern int proc_tgid_stat(struct task_struct *, char *);
extern int proc_pid_status(struct task_struct *, char *);
extern int proc_pid_statm(struct task_struct *, char *);

void free_proc_entry(struct proc_dir_entry *de);

int proc_init_inodecache(void);

static inline struct task_struct *proc_task(struct inode *inode)
{
return PROC_I(inode)->task;
Expand Down
3 changes: 2 additions & 1 deletion trunk/fs/proc/root.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include <linux/bitops.h>
#include <linux/smp_lock.h>

#include "internal.h"

struct proc_dir_entry *proc_net, *proc_net_stat, *proc_bus, *proc_root_fs, *proc_root_driver;

#ifdef CONFIG_SYSCTL
Expand All @@ -36,7 +38,6 @@ static struct file_system_type proc_fs_type = {
.kill_sb = kill_anon_super,
};

extern int __init proc_init_inodecache(void);
void __init proc_root_init(void)
{
int err = proc_init_inodecache();
Expand Down

0 comments on commit 6165ad2

Please sign in to comment.