diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-02-26 10:57:26 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-02-26 19:31:05 -0500 |
commit | eb54d2695b57426638fed0ec066ae17a18c4426c (patch) | |
tree | cf0df2f3286df7fc16047fcd2fe68484b19c1efe /drivers/infiniband/hw/qib | |
parent | 677bdb7346b6fd806ea45b11cbfe36de0b0cd644 (diff) | |
download | linux-stable-eb54d2695b57426638fed0ec066ae17a18c4426c.tar.gz linux-stable-eb54d2695b57426638fed0ec066ae17a18c4426c.tar.bz2 linux-stable-eb54d2695b57426638fed0ec066ae17a18c4426c.zip |
bcachefs: Fix truncate sometimes failing and returning 1
__bch_truncate_folio() may return 1 to indicate dirtyness of the folio
being truncated, needed for fpunch to get the i_size writes correct.
But truncate was forgetting to clear ret, and sometimes returning it as
an error.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'drivers/infiniband/hw/qib')
0 files changed, 0 insertions, 0 deletions