]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: check return value of btrfs_commit_transaction in relocation
authorJosef Bacik <josef@toxicpanda.com>
Fri, 12 Mar 2021 20:25:34 +0000 (15:25 -0500)
committerDavid Sterba <dsterba@suse.com>
Tue, 6 Apr 2021 19:07:07 +0000 (21:07 +0200)
commitca560defeedcc3ee49f6b0cb5718d569587d49e2
tree6ff3370ace50627e322c49606c18c31a0345ae37
parentf5d0e2cc3805430c37a87046ad88a7331a14cc88
btrfs: check return value of btrfs_commit_transaction in relocation

There are a few places where we don't check the return value of
btrfs_commit_transaction in relocation.c.  Thankfully all these places
have straightforward error handling, so simply change all of the sites
at once.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/relocation.c