diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-07-29 23:04:51 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:13:02 +0200 |
commit | f5b3a4173ff624b766c56936bb315e1517603891 (patch) | |
tree | f4bc7f312cc523b9a362c8384e00e31807c2f2e8 /fs/btrfs/volumes.c | |
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>
Diffstat (limited to 'fs/btrfs/volumes.c')
0 files changed, 0 insertions, 0 deletions