diff options
Diffstat (limited to 'fs/coda/psdev.c')
-rw-r--r-- | fs/coda/psdev.c | 11 |
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 | */ | ||
56 | extern struct file_system_type coda_fs_type; | ||
57 | 54 | ||
58 | /* statistics */ | 55 | /* statistics */ |
59 | int coda_hard; /* allows signals during upcalls */ | 56 | int 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 | ||
348 | static struct file_operations coda_psdev_fops = { | 345 | static 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: | |||
394 | MODULE_AUTHOR("Peter J. Braam <braam@cs.cmu.edu>"); | 391 | MODULE_AUTHOR("Peter J. Braam <braam@cs.cmu.edu>"); |
395 | MODULE_LICENSE("GPL"); | 392 | MODULE_LICENSE("GPL"); |
396 | 393 | ||
397 | extern int coda_init_inodecache(void); | ||
398 | extern void coda_destroy_inodecache(void); | ||
399 | static int __init init_coda(void) | 394 | static int __init init_coda(void) |
400 | { | 395 | { |
401 | int status; | 396 | int status; |