]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ocfs2: constify ocfs2_extent_tree_operations structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Thu, 14 Jan 2016 23:17:21 +0000 (15:17 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jan 2016 00:00:49 +0000 (16:00 -0800)
commit9e62dc096ef39ccf45fc47e8612f3c5d361af038
tree3a46e893c19ed8179ef530346de91f1050806852
parent30bee898f86506893883ffb8db20d8101a29b5f5
ocfs2: constify ocfs2_extent_tree_operations structures

The ocfs2_extent_tree_operations structures are never modified, so
declare them as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/alloc.c
fs/ocfs2/alloc.h