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)
commit4d4ab6d6bc05ba65169de9a5391e6ccbe09d8719
treeb4402e0388ee13df3bbd6d7f78108436e0dbea6b
parent20e5506baf3fd651e245bc970d8c11a734ee1b8a
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