Comment 0 for bug 854987

Revision history for this message
Seth Forshee (sforshee) wrote : hfsplus: backport hfsplus fixes for large sector devices

SRU Justification

Impact: In oneiric we're carrying an upstream cherry-pick to fix HFS+ support on large sector devices, but on certain devices HFS+ still fails to mount. An error in the cleanup path for the mount failure can also lead to an oops.

Fix: Cherry pick of two upstream patches. The first fixes the oops from the cleanup path, and the second fixes the mount failure.

Testcase: Tested against 3.1-rc, see https://lkml.org/lkml/2011/9/2/407.

---

The following upstream patches are needed for oneiric to fix an hfsplus mount failure and associated oops.

commit f588c960fcaa6fa8bf82930bb819c9aca4eb9347
Author: Seth Forshee <email address hidden>
Date: Thu Sep 15 10:48:27 2011 -0400

    hfsplus: Fix kfree of wrong pointers in hfsplus_fill_super() error path

commit f1fcd9f0e96d12498afb5543107f560f196cfcf3
Author: Christoph Hellwig <email address hidden>
Date: Thu Sep 15 10:48:40 2011 -0400

    hfsplus: fix filesystem size checks