aboutsummaryrefslogtreecommitdiffstats
path: root/fs/coda/psdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/coda/psdev.c')
-rw-r--r--fs/coda/psdev.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/fs/coda/psdev.c b/fs/coda/psdev.c
index 6a3df88accfe..6c6771db36da 100644
--- a/fs/coda/psdev.c
+++ b/fs/coda/psdev.c
@@ -48,12 +48,9 @@
48#include <linux/coda_psdev.h> 48#include <linux/coda_psdev.h>
49#include <linux/coda_proc.h> 49#include <linux/coda_proc.h>
50 50
51#define upc_free(r) kfree(r) 51#include "coda_int.h"
52 52
53/* 53#define upc_free(r) kfree(r)
54 * Coda stuff
55 */
56extern struct file_system_type coda_fs_type;
57 54
58/* statistics */ 55/* statistics */
59int coda_hard; /* allows signals during upcalls */ 56int coda_hard; /* allows signals during upcalls */
@@ -345,7 +342,7 @@ static int coda_psdev_release(struct inode * inode, struct file * file)
345} 342}
346 343
347 344
348static struct file_operations coda_psdev_fops = { 345static const struct file_operations coda_psdev_fops = {
349 .owner = THIS_MODULE, 346 .owner = THIS_MODULE,
350 .read = coda_psdev_read, 347 .read = coda_psdev_read,
351 .write = coda_psdev_write, 348 .write = coda_psdev_write,
@@ -394,8 +391,6 @@ out:
394MODULE_AUTHOR("Peter J. Braam <braam@cs.cmu.edu>"); 391MODULE_AUTHOR("Peter J. Braam <braam@cs.cmu.edu>");
395MODULE_LICENSE("GPL"); 392MODULE_LICENSE("GPL");
396 393
397extern int coda_init_inodecache(void);
398extern void coda_destroy_inodecache(void);
399static int __init init_coda(void) 394static int __init init_coda(void)
400{ 395{
401 int status; 396 int status;