udf: Fix race between file type conversion and writeback
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest0 of 2 patches 0 repliesNew
- v2 posting 2/21 patch 2 repliesSuperseded
- v2 posting 1/22 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 1 reply | Superseded |
Changes in v4 from the cover letter
* Create mpage_writepages() variant with a callback instead of opencoding.
Patches in v4 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Christoph Hellwig |
|---|---|
| Series | R-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/2] udf: Fix race between file type conversion and writeback
Hello,
here is the third version of patches to fix a race between conversion of UDF file from inline format to the standard format and writeback resulting in possible memory corruption. As Christoph didn't like opencoding folio_prepare_writeback() in UDF either, this version provides mpage_writepages() variant with a per-folio callback instead. Review/Acks are welcome in particular for the first patch. I'd like to push the fix to Linus soon as it's kind of nasty issue.
Changes since v3:
* Create mpage_writepages() variant with a callback instead of opencoding.
Changes since v2:
* Opencoded folio_prepare_writeback() in udf instead of exporting it
Changes since v1:
* Fix crash in udf_writepages() when file had no folio in the mapping
Honza
Previous versions: