Fix oops / warning when allocation of symlink fails
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ext3: Fix truncation of symlinks after failed writefs/ | +10 | 0 replies | |
| 2/2 | ext4: Fix truncation of symlinks after failed writefs/ | +13 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Fix oops / warning when allocation of symlink fails
Hi,
the two patches in this series fix a problem for ext3/ext4 when we fail
to allocate blocks for a symlink. In ext3 this could lead to a memory corruption (since freed inode could remain on in-memory orphan list), in ext4 just to some warnings on the next mount (Sigh. Ted was maybe right we should always do ext?_orphan_del() regardless of calling truncate ;)).
Ted, would you please merge the patch (or both if you like)? Thanks.
Honza