[PATCH 0/2] two patches about B-tree corruptions in hfs and hfsplus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Hin-Tak Leung <htl10@xxxxxxxxxxxxxxxxxxxxx>

At least 4 people had expressed concerns about the clarity of the patch
description of Sergei Antonov's "hfsplus: release bnode pages after use, not
before"; but also at least two people (me and Anton Altaparmakov) besides
Sergei really think the issue addressed by the patch is important to fix and
should be fixed soon.

So here is an attempt to write a different and hopefully clearer patch
description. Along the way, I also think it would be a good idea to keep the
hfs and hfsplus code in sync where it is obvious to do so, so the first patch
is a combo hfs+hfsplus one, but otherwise functionally identical to Sergei's.
The 2nd patch is an hfs follow-up to a previous hfsplus change.

Hin-Tak Leung (2):
  hfs,hfsplus: cache pages correctly between bnode_create and bnode_free
  hfs: fix B-tree corruption after insertion at position 0

 fs/hfs/bnode.c     |  9 ++++-----
 fs/hfs/brec.c      | 20 +++++++++++---------
 fs/hfsplus/bnode.c |  3 ---
 3 files changed, 15 insertions(+), 17 deletions(-)

-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux