]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: backref, add unode_aux_to_inode_list helper
authorJeff Mahoney <jeffm@suse.com>
Thu, 29 Jun 2017 03:56:56 +0000 (21:56 -0600)
committerDavid Sterba <dsterba@suse.com>
Wed, 16 Aug 2017 12:19:53 +0000 (14:19 +0200)
commitfe8eb738fa06aaf0e52277c0787151a7bb3d1eb2
tree4a960dabcb6cee3476ae4bfdaeb1d783454a6026
parentfddb294006727b10437adcdc7a91064fbc70682e
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