btrfs: backref, add unode_aux_to_inode_list helper
commit4dae077a83dd8944ed351b09a0651c1283f46185
authorJeff Mahoney <jeffm@suse.com>
Thu, 29 Jun 2017 03:56:56 +0000 (28 21:56 -0600)
committerDavid Sterba <dsterba@suse.com>
Wed, 16 Aug 2017 12:19:53 +0000 (16 14:19 +0200)
tree4a960dabcb6cee3476ae4bfdaeb1d783454a6026
parent73980becaebfd4dd3c56f2ae64d4081af2a65b27
btrfs: backref, add unode_aux_to_inode_list helper

Replacing the double cast and ternary conditional with a helper makes
the code easier on the eyes.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/backref.c