]> err.no Git - linux-2.6/blobdiff - fs/bfs/file.c
[PATCH] lockdep: locking API self tests
[linux-2.6] / fs / bfs / file.c
index 807723b65daf3b1c93830325e441bf4b03bc81ef..3d5aca28a0a0980922c83c0b197d1cf52cb27593 100644 (file)
@@ -17,7 +17,7 @@
 #define dprintf(x...)
 #endif
 
-struct file_operations bfs_file_operations = {
+const struct file_operations bfs_file_operations = {
        .llseek         = generic_file_llseek,
        .read           = generic_file_read,
        .write          = generic_file_write,
@@ -153,7 +153,7 @@ static sector_t bfs_bmap(struct address_space *mapping, sector_t block)
        return generic_block_bmap(mapping, block, bfs_get_block);
 }
 
-struct address_space_operations bfs_aops = {
+const struct address_space_operations bfs_aops = {
        .readpage       = bfs_readpage,
        .writepage      = bfs_writepage,
        .sync_page      = block_sync_page,