Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48389
b: refs/heads/master
c: 77b14db
h: refs/heads/master
i:
  48387: 140095c
v: v3
  • Loading branch information
Eric W. Biederman authored and Linus Torvalds committed Feb 14, 2007
1 parent 035e5a8 commit 4c1e305
Show file tree
Hide file tree
Showing 11 changed files with 487 additions and 200 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: 1ff007eb8e8c7c44e9a384a67d0fdd0fd06ba811
refs/heads/master: 77b14db502cb85a031fe8fde6c85d52f3e0acb63
2 changes: 1 addition & 1 deletion trunk/fs/proc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ proc-y := nommu.o task_nommu.o
proc-$(CONFIG_MMU) := mmu.o task_mmu.o

proc-y += inode.o root.o base.o generic.o array.o \
proc_tty.o proc_misc.o
proc_tty.o proc_misc.o proc_sysctl.o

proc-$(CONFIG_PROC_KCORE) += kcore.o
proc-$(CONFIG_PROC_VMCORE) += vmcore.o
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/proc/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static loff_t proc_file_lseek(struct file *, loff_t, int);

DEFINE_SPINLOCK(proc_subdir_lock);

int proc_match(int len, const char *name, struct proc_dir_entry *de)
static int proc_match(int len, const char *name, struct proc_dir_entry *de)
{
if (de->namelen != len)
return 0;
Expand Down
1 change: 1 addition & 0 deletions trunk/fs/proc/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ struct inode *proc_get_inode(struct super_block *sb, unsigned int ino,
if (!inode)
goto out_ino;

PROC_I(inode)->fd = 0;
PROC_I(inode)->pde = de;
if (de) {
if (de->mode) {
Expand Down
2 changes: 2 additions & 0 deletions trunk/fs/proc/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

#include <linux/proc_fs.h>

extern int proc_sys_init(void);

struct vmalloc_info {
unsigned long used;
unsigned long largest_chunk;
Expand Down
Loading

0 comments on commit 4c1e305

Please sign in to comment.