diff options
| author | Dan Robertson | 2021-06-27 20:54:34 -0400 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:09:07 -0400 |
| commit | 78d66ab1ca541ba95a9ad89780466398b348c230 (patch) | |
| tree | c0788ce2190647a93f6c282675e54ce3c6fd4569 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 6f152b0f375450b72724b6eb2ec00f7669fc910e (diff) | |
bcachefs: fix truncate without a size change
Do not attempt to shortcut a truncate when the given new size is
the same as the current size. There may be blocks allocated to the
file that extend beyond the i_size. The ctime and mtime should
not be updated in this case.
Signed-off-by: Dan Robertson <dan@dlrobertson.com>
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
