]> git.baikalelectronics.ru Git - kernel.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)
commit39f5526bfd8b6348eba041b266637133fad43513
tree3a46e893c19ed8179ef530346de91f1050806852
parent65ad8e56790ed992abbee9ac8d3ab02f26b59ba4
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