aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_file.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_file.c b/fs/xfs/linux-2.6/xfs_file.c
index 6d65baf15a1..eff61e2732a 100644
--- a/fs/xfs/linux-2.6/xfs_file.c
+++ b/fs/xfs/linux-2.6/xfs_file.c
@@ -42,7 +42,7 @@
42 42
43#include <linux/dcache.h> 43#include <linux/dcache.h>
44 44
45static struct vm_operations_struct xfs_file_vm_ops; 45static const struct vm_operations_struct xfs_file_vm_ops;
46 46
47STATIC ssize_t 47STATIC ssize_t
48xfs_file_aio_read( 48xfs_file_aio_read(
@@ -273,7 +273,7 @@ const struct file_operations xfs_dir_file_operations = {
273 .fsync = xfs_file_fsync, 273 .fsync = xfs_file_fsync,
274}; 274};
275 275
276static struct vm_operations_struct xfs_file_vm_ops = { 276static const struct vm_operations_struct xfs_file_vm_ops = {
277 .fault = filemap_fault, 277 .fault = filemap_fault,
278 .page_mkwrite = xfs_vm_page_mkwrite, 278 .page_mkwrite = xfs_vm_page_mkwrite,
279}; 279};