summaryrefslogtreecommitdiffstats
path: root/fs/coda/psdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/coda/psdev.c')
-rw-r--r--fs/coda/psdev.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/fs/coda/psdev.c b/fs/coda/psdev.c
index 73fa6ddfe..144162f5a 100644
--- a/fs/coda/psdev.c
+++ b/fs/coda/psdev.c
@@ -47,13 +47,7 @@
#include <linux/coda_cache.h>
#include <linux/coda_proc.h>
-
-/*
- * Where is the prototype?
- */
-
-int proc_register_dynamic(struct proc_dir_entry * dir,
- struct proc_dir_entry * dp);
+extern struct proc_dir_entry proc_sys_root;
/*
* Coda stuff
@@ -391,6 +385,7 @@ static struct file_operations coda_psdev_fops = {
NULL, /* ioctl */
NULL, /* coda_psdev_mmap */
coda_psdev_open, /* open */
+ NULL,
coda_psdev_release, /* release */
NULL, /* fsync */
NULL, /* fasync */
@@ -402,7 +397,6 @@ static struct file_operations coda_psdev_fops = {
#ifdef CONFIG_PROC_FS
-extern struct proc_dir_entry proc_sys_root;
struct proc_dir_entry proc_sys_coda = {
0, 4, "coda",
@@ -489,6 +483,7 @@ struct proc_dir_entry proc_coda_cache_inv_control = {
#endif
+
__initfunc(int init_coda(void))
{
int status;
@@ -546,14 +541,12 @@ int init_coda_psdev(void)
#ifdef MODULE
-EXPORT_NO_SYMBOLS;
-
MODULE_AUTHOR("Peter J. Braam <braam@cs.cmu.edu>");
int init_module(void)
{
int status;
- printk(KERN_INFO "Coda Kernel/Venus communications (module), v4.6.0, braam@cs.cmu.edu\n");
+ printk(KERN_INFO "Coda Kernel/Venus communications (module), v4.7.1, braam@cs.cmu.edu.\n");
status = init_coda_psdev();
if ( status ) {