diff options
Diffstat (limited to 'fs/coda/file.c')
-rw-r--r-- | fs/coda/file.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/coda/file.c b/fs/coda/file.c index 30b4630bd735..7c2642431fa5 100644 --- a/fs/coda/file.c +++ b/fs/coda/file.c | |||
@@ -24,6 +24,8 @@ | |||
24 | #include <linux/coda_psdev.h> | 24 | #include <linux/coda_psdev.h> |
25 | #include <linux/coda_proc.h> | 25 | #include <linux/coda_proc.h> |
26 | 26 | ||
27 | #include "coda_int.h" | ||
28 | |||
27 | /* if CODA_STORE fails with EOPNOTSUPP, venus clearly doesn't support | 29 | /* if CODA_STORE fails with EOPNOTSUPP, venus clearly doesn't support |
28 | * CODA_STORE/CODA_RELEASE and we fall back on using the CODA_CLOSE upcall */ | 30 | * CODA_STORE/CODA_RELEASE and we fall back on using the CODA_CLOSE upcall */ |
29 | static int use_coda_close; | 31 | static int use_coda_close; |
@@ -286,7 +288,7 @@ int coda_fsync(struct file *coda_file, struct dentry *coda_dentry, int datasync) | |||
286 | return err; | 288 | return err; |
287 | } | 289 | } |
288 | 290 | ||
289 | struct file_operations coda_file_operations = { | 291 | const struct file_operations coda_file_operations = { |
290 | .llseek = generic_file_llseek, | 292 | .llseek = generic_file_llseek, |
291 | .read = coda_file_read, | 293 | .read = coda_file_read, |
292 | .write = coda_file_write, | 294 | .write = coda_file_write, |