diff options
author | Filipe Manana <fdmanana@suse.com> | 2024-04-29 14:01:09 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-07-11 15:33:17 +0200 |
commit | d25f4ec17624b1b18ff2e0a3e9c2baa71c8a86f2 (patch) | |
tree | a8498595d0c4e0b2355623a7364023b7cffe3a1c /fs/btrfs/delayed-inode.c | |
parent | 061ea8581b2e0ade913c8f5cd845e801976a577b (diff) |
btrfs: reduce nesting and deduplicate error handling at btrfs_iget_path()
Make btrfs_iget_path() simpler and easier to read by avoiding nesting of
if-then-else statements and having an error label to do all the error
handling instead of repeating it a couple times.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/delayed-inode.c')
0 files changed, 0 insertions, 0 deletions