diff options
| author | Jan Kara <[email protected]> | 2023-02-28 00:13:18 -0500 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2023-03-23 10:06:08 -0400 |
| commit | d8be7607de039e5a477b0a5c63959d81ac052c3b (patch) | |
| tree | 669d041d69e5e33f6f97a1076d8c257978081c5a /tools/perf/scripts/python | |
| parent | eaf2ca10ca4ba450f8e514cb8bfc9149660b57f6 (diff) | |
ext4: Move mpage_page_done() calls after error handling
In case mpage_submit_page() returns error, it doesn't really matter
whether we call mpage_page_done() and then return error or whether we
return directly because in that case page cleanup will be done by
mpage_release_unused_pages() instead. Logically, it makes more sense to
leave the cleanup to mpage_release_unused_pages() because we didn't
succeed in writing the page. So move mpage_page_done() calls after the
error handling.
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions