commit | b1ab412372e9abf5bd274fae2a07b681cfa478e2 | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruenba@redhat.com> | Thu Mar 17 14:47:24 2022 +0100 |
committer | Andreas Gruenbacher <agruenba@redhat.com> | Mon Mar 21 14:31:20 2022 +0100 |
tree | 8f661706809df3aa31b7bfb6f97260cab7067f27 | |
parent | b7f6f27d5ebbd15eaa23e4175b5ecf7e18a7f6e1 [diff] |
gfs2: Fix gfs2_file_buffered_write endless loop workaround Since commit 554c577cee95b, gfs2_file_buffered_write() can accidentally return a truncated iov_iter, which will break generic_write_sync() in gfs2_file_write_iter(). Fix that. Fixes: 554c577cee95b ("gfs2: Prevent endless loops in gfs2_file_buffered_write") Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>