btrfs: backref: Use ERR_CAST to return error code
authorMisono Tomohiro <misono.tomohiro@jp.fujitsu.com>
Thu, 26 Jul 2018 01:22:58 +0000 (10:22 +0900)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:13:01 +0000 (13:13 +0200)
commitafc6961ffd96ee7e2a86e70e9691a008eadf2926
tree49bc19240b43cb46d2829f2e3973e5c01c857ce2
parent5b7d687ad5913a56b6a8788435d7a53990b4176d
btrfs: backref: Use ERR_CAST to return error code

Use ERR_CAST() instead of void * to make meaning clear.

Signed-off-by: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/backref.c