commit | f5b3a4173ff624b766c56936bb315e1517603891 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Jul 29 23:04:51 2018 +0100 |
committer | David Sterba <dsterba@suse.com> | Mon Aug 06 13:13:02 2018 +0200 |
tree | f4bc7f312cc523b9a362c8384e00e31807c2f2e8 | |
parent | 9bc2ceff660580454f971ed3f891a2c82085433a [diff] |
btrfs: simplify btrfs_iget Don't open-code iget_failed(), don't bother with btrfs_free_path(NULL), move handling of positive return values of btrfs_lookup_inode() from btrfs_read_locked_inode() to btrfs_iget() and kill now obviously pointless ASSERT() in there. 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>