summaryrefslogtreecommitdiff
path: root/fs/btrfs/delayed-inode.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2024-04-29 14:01:09 +0100
committerDavid Sterba <dsterba@suse.com>2024-07-11 15:33:17 +0200
commitd25f4ec17624b1b18ff2e0a3e9c2baa71c8a86f2 (patch)
treea8498595d0c4e0b2355623a7364023b7cffe3a1c /fs/btrfs/delayed-inode.c
parent061ea8581b2e0ade913c8f5cd845e801976a577b (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