btrfs: constify input buffer of btrfs_csum_data
authorDavid Sterba <dsterba@suse.com>
Tue, 14 Feb 2017 17:03:49 +0000 (18:03 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 28 Feb 2017 13:26:07 +0000 (14:26 +0100)
commit9ed573674ae607bc616c804657bfaf5b6ea5889d
treeba1978abe3ea592908192ef6570d655165cb002e
parentda353f6b30bc02da29b54f5f024039698fbd23f4
btrfs: constify input buffer of btrfs_csum_data

The function does not modify the input buffer, also update a typecast in
one caller.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h