Re: [PATCH 01/31] btrfs: cleanup clean_io_failure

David Sterba
2022-09-07T18:57:10Z

On Fri, Sep 02, 2022 at 04:16:06PM -0400, Josef Bacik wrote:
> This is exported, so rename it to btrfs_clean_io_failure. Additionally
> we are passing in the io tree's and such from the inode, so instead of
> doing all that simply pass in the inode itself and get all the
> components we need directly inside of btrfs_clean_io_failure.

The 'cleanup function' is usually very unspecific as subject, but we
have patches like that that do several cleanups inside the function.
Something like "export and rename ...", or "simplify parameters of ..."
when it's not purely exporting.