]> git.baikalelectronics.ru Git - kernel.git/commit
logfs: constify logfs_block_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Fri, 11 Dec 2015 16:03:26 +0000 (17:03 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 9 Jan 2016 07:55:45 +0000 (02:55 -0500)
commit1ea359fb3495efbeeb465eb46162ba8bd54dd6af
tree3cd83b31fc3f921cdd507aa7bdf016750e0bc9e6
parent3c53641a6b1ad4f4058554da591d20eb24b682be
logfs: constify logfs_block_ops structures

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

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/logfs/logfs.h
fs/logfs/readwrite.c
fs/logfs/segment.c