patch-2.1.120 linux/fs/coda/psdev.c
Next file: linux/fs/coda/upcall.c
Previous file: linux/fs/coda/pioctl.c
Back to the patch index
Back to the overall index
- Lines: 56
- Date:
Tue Sep 1 11:03:36 1998
- Orig file:
v2.1.119/linux/fs/coda/psdev.c
- Orig date:
Wed Aug 26 11:37:40 1998
diff -u --recursive --new-file v2.1.119/linux/fs/coda/psdev.c linux/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,7 +385,7 @@
NULL, /* ioctl */
NULL, /* coda_psdev_mmap */
coda_psdev_open, /* open */
- NULL, /* flush */
+ NULL,
coda_psdev_release, /* release */
NULL, /* fsync */
NULL, /* fasync */
@@ -403,7 +397,6 @@
#ifdef CONFIG_PROC_FS
-extern struct proc_dir_entry proc_sys_root;
struct proc_dir_entry proc_sys_coda = {
0, 4, "coda",
@@ -490,6 +483,7 @@
#endif
+
__initfunc(int init_coda(void))
{
int status;
@@ -547,14 +541,12 @@
#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 ) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov