]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/bad_inode.c
[PATCH] Make most file operations structs in fs/ const
[net-next-2.6.git] / fs / bad_inode.c
index e172180a1d8c3f0173adae9101175c1454111ce3..80599ae339669d3a3a962d64d974f62fb30a58d6 100644 (file)
@@ -22,7 +22,7 @@ static int return_EIO(void)
 
 #define EIO_ERROR ((void *) (return_EIO))
 
-static struct file_operations bad_file_ops =
+static const struct file_operations bad_file_ops =
 {
        .llseek         = EIO_ERROR,
        .aio_read       = EIO_ERROR,