hfsplus: fix b-tree logic issues
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | hfsplus: fix potential race conditions in b-tree functionalityfs/ fs/ fs/ +1 more | +18 | 0 replies | |
| 2/5 | hfsplus: fix error processing issue in hfs_bmap_free()fs/ | +9 | 0 replies | |
| 3/5 | hfsplus: fix logic of alloc/free b-tree nodefs/ | +3 | 0 replies | |
| 4/5 | hfsplus: rework logic of map nodes creation in xattr b-treefs/ include/ | +106 | 0 replies | |
| 5/5 | hfsplus: fix generic/642 failurefs/ | +20 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] hfsplus: fix b-tree logic issues
The generic/642 failure uncovered multiple issues
in b-tree functionality. This patchset fixes potential race conditions in b-tree functionality, error processing issue in hfs_bmap_free(), logic of alloc/free b-tree node. It reworks hfsplus_create_attributes_file() logic by introducing a specialized method of hfsplus_init_map_node() and writing the allocated map b-tree's nodes by means of hfsplus_write_attributes_file_node() method. And this patchset adds calling of hfs_bnode_unlink() before hfs_bnode_put() for the case if new node cannot be used for spliting the existing node.
Viacheslav Dubeyko (5):
hfsplus: fix potential race conditions in b-tree functionality
hfsplus: fix error processing issue in hfs_bmap_free()
hfsplus: fix logic of alloc/free b-tree node
hfsplus: rework logic of map nodes creation in xattr b-tree
hfsplus: fix generic/642 failure
fs/hfsplus/bnode.c | 3 + fs/hfsplus/brec.c | 32 ++++++---- fs/hfsplus/btree.c | 22 +++++-- fs/hfsplus/inode.c | 15 ++--- fs/hfsplus/super.c | 3 + fs/hfsplus/xattr.c | 127 ++++++++++++++++++++++++++++++------- include/linux/hfs_common.h | 2 + 7 files changed, 156 insertions(+), 48 deletions(-)
Signature · 1 line
2.43.0