linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hin-Tak Leung <hintak.leung@gmail.com>
To: linux-fsdevel@vger.kernel.org
Cc: Hin-Tak Leung <htl10@users.sourceforge.net>
Subject: [PATCH 0/2] two patches about B-tree corruptions in hfs and hfsplus
Date: Sun, 28 Jun 2015 02:39:28 +0100	[thread overview]
Message-ID: <1435455570-8577-1-git-send-email-HinTak.Leung@gmail.com> (raw)

From: Hin-Tak Leung <htl10@users.sourceforge.net>

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


             reply	other threads:[~2015-06-28  1:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-28  1:39 Hin-Tak Leung [this message]
2015-06-28  1:39 ` [PATCH v2] hfs,hfsplus: cache pages correctly between bnode_create and bnode_free Hin-Tak Leung
2015-06-28 18:52   ` Sergei Antonov
2015-06-30 15:40     ` Hin-Tak Leung
2015-07-01 16:09       ` Sergei Antonov
2015-07-01 23:24         ` Hin-Tak Leung
2015-07-02 17:04           ` Sergei Antonov
2015-07-02 18:02             ` Hin-Tak Leung
2015-07-07 22:19               ` Andrew Morton
2015-07-07 23:19                 ` Sergei Antonov
2015-07-08 14:58                 ` Sergei Antonov
2015-07-08 15:29                   ` Hin-Tak Leung
2015-08-03 13:33                 ` Luc Pionchon
2015-06-30 15:55   ` Fwd: " Hin-Tak Leung
     [not found]     ` <CABbL6oanheE9JAwevN8Mrf-5o=y-e7JV2Nt4VW_-iW9Pt3jQuQ@mail.gmail.com>
     [not found]       ` <CABbL6oZ2vQsU9xG+vh_GkmfHHdcZvSYPcZYjUpnZq-r3b_HjPQ@mail.gmail.com>
2015-07-01 23:29         ` Hin-Tak Leung
2015-06-28  1:39 ` [PATCH] hfs: fix B-tree corruption after insertion at position 0 Hin-Tak Leung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1435455570-8577-1-git-send-email-HinTak.Leung@gmail.com \
    --to=hintak.leung@gmail.com \
    --cc=htl10@users.sourceforge.net \
    --cc=linux-fsdevel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).