]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - fs/block_dev.c
[PATCH] Make most file operations structs in fs/ const
[mirror_ubuntu-jammy-kernel.git] / fs / block_dev.c
index 17c76182f389849c657cd60a791e1435411214f4..af88c43043d589a45c20e744d44dd15b557243e4 100644 (file)
@@ -1087,7 +1087,7 @@ struct address_space_operations def_blk_aops = {
        .direct_IO      = blkdev_direct_IO,
 };
 
-struct file_operations def_blk_fops = {
+const struct file_operations def_blk_fops = {
        .open           = blkdev_open,
        .release        = blkdev_close,
        .llseek         = block_llseek,