]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: constify static arrays
authorDavid Sterba <dsterba@suse.com>
Thu, 19 Nov 2015 10:42:31 +0000 (11:42 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 7 Jan 2016 14:01:15 +0000 (15:01 +0100)
commitf852aead15e2528801d2f13e21c380acb2bd6748
treeb4402e0388ee13df3bbd6d7f78108436e0dbea6b
parent45c8a815439eb2672bfd2f6bb09ad53a704df0dd
btrfs: constify static arrays

There are a few statically initialized arrays that can be made const.
The remaining (like file_system_type, sysfs attributes or prop handlers)
do not allow that due to type mismatch when passed to the APIs or
because the structures are modified through other members.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/super.c