diff options
author | Filipe Manana <fdmanana@suse.com> | 2023-06-02 12:19:42 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-06-19 13:59:32 +0200 |
commit | 99f09ce309b8307ce8dca209f936e99a7c332214 (patch) | |
tree | fee7f68fed26510fd21343b02e3ba3007bc9cac8 /fs/btrfs/fs.h | |
parent | 184533e3618f4d0b382c1ef3de0ce34e849005d7 (diff) |
btrfs: make btrfs_destroy_delayed_refs() return void
btrfs_destroy_delayed_refs() always returns 0 and its single caller does
not check its return value, as it also returns void, and so does the
callers' caller and so on. This is because we are in the transaction abort
path, where we have no way to deal with errors (we are in a critical
situation) and all cleanup of resources works in a best effort fashion.
So make btrfs_destroy_delayed_refs() return void.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/fs.h')
0 files changed, 0 insertions, 0 deletions