diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-07-30 00:04:51 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:13:02 +0200 |
commit | f5b3a4173ff624b766c56936bb315e1517603891 (patch) | |
tree | f4bc7f312cc523b9a362c8384e00e31807c2f2e8 /fs/btrfs/ioctl.c | |
parent | btrfs: lift make_bad_inode into btrfs_iget (diff) | |
download | linux-f5b3a4173ff624b766c56936bb315e1517603891.tar.xz linux-f5b3a4173ff624b766c56936bb315e1517603891.zip |
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/ioctl.c')
0 files changed, 0 insertions, 0 deletions