VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Alexey Dobriyan <adobriyan@gmail.com> 2009-10-01 15:43:56 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2009-10-01 16:11:11 -0700 commit: 828c09509b9695271bcbdc53e9fc9a6a737148d2 parent: 1c4115e595dec42aa0e81ba47ef46e35b34ed428
Commit Summary:
const: constify remaining file_operations
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/omfs/file.c b/fs/omfs/file.c
index 4845fbb18e6e..399487c09364 100644
--- a/fs/omfs/file.c
+++ b/fs/omfs/file.c
@@ -322,7 +322,7 @@ static sector_t omfs_bmap(struct address_space *mapping, sector_t block)
 	return generic_block_bmap(mapping, block, omfs_get_block);
 }
 
-struct file_operations omfs_file_operations = {
+const struct file_operations omfs_file_operations = {
 	.llseek = generic_file_llseek,
 	.read = do_sync_read,
 	.write = do_sync_write,