btrfs: constify structs with op functions or static definitions
authorDavid Sterba <dsterba@suse.cz>
Fri, 2 Jan 2015 17:23:10 +0000 (18:23 +0100)
committerDavid Sterba <dsterba@suse.cz>
Mon, 16 Feb 2015 17:48:44 +0000 (18:48 +0100)
commite8c9f18603f7ce2beca233401e228de730f121fa
tree33df6dd1661f9a25a167f011a7669db44b588e5b
parentf749303bda20392e1d4a10adda84524365afd0e6
btrfs: constify structs with op functions or static definitions

There are some op tables that can be easily made const, similarly the
sysfs feature and raid tables. This is motivated by PaX CONSTIFY plugin.

Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/compression.c
fs/btrfs/compression.h
fs/btrfs/disk-io.c
fs/btrfs/extent_io.h
fs/btrfs/lzo.c
fs/btrfs/props.c
fs/btrfs/sysfs.c
fs/btrfs/transaction.c
fs/btrfs/volumes.c
fs/btrfs/zlib.c