projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
[firefly-linux-kernel-4.4.55.git]
/
fs
/
coda
/
psdev.c
diff --git
a/fs/coda/psdev.c
b/fs/coda/psdev.c
index 6a3df88accfe05ba4cab10d16ff0945028d8478c..6c6771db36da4f482f123a42f92c852e90cf05fd 100644
(file)
--- a/
fs/coda/psdev.c
+++ b/
fs/coda/psdev.c
@@
-48,12
+48,9
@@
#include <linux/coda_psdev.h>
#include <linux/coda_proc.h>
#include <linux/coda_psdev.h>
#include <linux/coda_proc.h>
-#
define upc_free(r) kfree(r)
+#
include "coda_int.h"
-/*
- * Coda stuff
- */
-extern struct file_system_type coda_fs_type;
+#define upc_free(r) kfree(r)
/* statistics */
int coda_hard; /* allows signals during upcalls */
/* statistics */
int coda_hard; /* allows signals during upcalls */
@@
-345,7
+342,7
@@
static int coda_psdev_release(struct inode * inode, struct file * file)
}
}
-static struct file_operations coda_psdev_fops = {
+static
const
struct file_operations coda_psdev_fops = {
.owner = THIS_MODULE,
.read = coda_psdev_read,
.write = coda_psdev_write,
.owner = THIS_MODULE,
.read = coda_psdev_read,
.write = coda_psdev_write,
@@
-394,8
+391,6
@@
out:
MODULE_AUTHOR("Peter J. Braam <braam@cs.cmu.edu>");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Peter J. Braam <braam@cs.cmu.edu>");
MODULE_LICENSE("GPL");
-extern int coda_init_inodecache(void);
-extern void coda_destroy_inodecache(void);
static int __init init_coda(void)
{
int status;
static int __init init_coda(void)
{
int status;