btrfs: btrfs_iget never returns an is_bad_inode inode
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 29 Jul 2018 22:04:45 +0000 (23:04 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:13:02 +0000 (13:13 +0200)
commit2e19f1f9d31b3515356710b8bdfb655f47a98448
tree41d6d39adc85c8d15a21974f995565cce1391b31
parent1e7e1f9e3aba00c9b9c323bfeeddafe69ff21ff6
btrfs: btrfs_iget never returns an is_bad_inode inode

Just get rid of pointless checks.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/free-space-cache.c
fs/btrfs/relocation.c
fs/btrfs/tree-log.c