diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-02-08 18:30:08 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-02-18 15:25:54 +0100 |
| commit | 29e525665a77a70ea8f19310e96b1b1472b07fc9 (patch) | |
| tree | bf9428388fe4b28ec2ba7dd123c5f73ff0a38095 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | f46a283bbc58d7871ab22f5882e942f889fa2b0e (diff) | |
btrfs: fix lost return value on error in finish_verity()
If btrfs_update_inode() or del_orphan() fail, we jump to the 'end_trans'
label and then return 0 instead of the error returned by one of those
calls. Fix this and return the error.
Fixes: 61fb7f04ee06 ("btrfs: remove out label in finish_verity()")
Reported-by: Chris Mason <clm@meta.com>
Link: https://lore.kernel.org/linux-btrfs/20260208161129.3888234-1-clm@meta.com/
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 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
