diff options
Diffstat (limited to 'fs/proc/generic.c')
-rw-r--r-- | fs/proc/generic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/proc/generic.c b/fs/proc/generic.c index e58b04e02..e46ef0b25 100644 --- a/fs/proc/generic.c +++ b/fs/proc/generic.c @@ -43,7 +43,7 @@ static struct file_operations proc_file_operations = { #define MIN(a,b) (((a) < (b)) ? (a) : (b)) #endif -/* 4K page size but our output routines use some slack for overruns */ +/* buffer size is one page but our output routines use some slack for overruns */ #define PROC_BLOCK_SIZE (PAGE_SIZE - 1024) static ssize_t @@ -336,6 +336,7 @@ int proc_readdir(struct file * filp, * the /proc directory. */ static struct file_operations proc_dir_operations = { + read: generic_read_dir, readdir: proc_readdir, }; |