diff options
author | David Sterba <dsterba@suse.cz> | 2015-01-02 20:23:10 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-02-16 20:48:44 +0300 |
commit | e8c9f18603f7ce2beca233401e228de730f121fa (patch) | |
tree | 33df6dd1661f9a25a167f011a7669db44b588e5b /fs/btrfs/props.c | |
parent | f749303bda20392e1d4a10adda84524365afd0e6 (diff) | |
download | linux-e8c9f18603f7ce2beca233401e228de730f121fa.tar.xz |
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>
Diffstat (limited to 'fs/btrfs/props.c')
-rw-r--r-- | fs/btrfs/props.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/props.c b/fs/btrfs/props.c index 129b1dd28527..dca137b04095 100644 --- a/fs/btrfs/props.c +++ b/fs/btrfs/props.c @@ -425,3 +425,5 @@ static const char *prop_compression_extract(struct inode *inode) return NULL; } + + |