diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-08-13 18:04:32 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:11 -0400 |
commit | c8ef8c3eb573ae2d7f7f41d93f0e34b8f6dfcd6f (patch) | |
tree | 5c47400c36d3ed3bd8cf2b26376e6d9cbedeb03d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ff5b741c25fb9546d876ca4c0c1d8720f6a2471c (diff) |
bcachefs: Fix bch2_extent_fallocate()
- There was no need for a retry loop in bch2_extent_fallocate(); if we
have to retry we may be overwriting something different and we need
to return an error and let the caller retry.
- The bch2_alloc_sectors_start() error path was wrong, and wasn't
running our cleanup at the end of the function
This also fixes a very rare open bucket leak due to the missing cleanup.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions