btrfs: fix log replay not persisting a 0 i_size
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: fix zero size inode with non-zero size after log replayfs/ | +65 | 0 replies | |
| 2/2 | btrfs: pass a btrfs inode to tree-log.c:fill_inode_item()fs/ | +23 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] btrfs: fix log replay not persisting a 0 i_size
From: Filipe Manana <[email protected]>
Fix an issue where if we fsync a file that got its size truncated to 0, we may end up not getting an i_size of 0 after log replay if new names for the file were also logged. Details in the change log of the first patch.
Filipe Manana (2):
btrfs: fix zero size inode with non-zero size after log replay
btrfs: pass a btrfs inode to tree-log.c:fill_inode_item()
fs/btrfs/tree-log.c | 140 +++++++++++++++++++++++++++----------------- 1 file changed, 85 insertions(+), 55 deletions(-)
Signature · 1 line
2.47.2