summaryrefslogtreecommitdiffstats
path: root/hfsplus-Change-finder_info-to-u32.patch
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@redhat.com>2012-02-07 09:49:17 -0500
committerJosh Boyer <jwboyer@redhat.com>2012-02-07 09:49:17 -0500
commit4efc0c70ab6ea56a586fe249058200aa46b96473 (patch)
treec138a3d8a2727171c3be0e49cd1a238c4d02fbe9 /hfsplus-Change-finder_info-to-u32.patch
parent551d759a1e821ce49c84afbd9b980a48a75a9129 (diff)
downloadkernel-4efc0c70ab6ea56a586fe249058200aa46b96473.tar.gz
kernel-4efc0c70ab6ea56a586fe249058200aa46b96473.tar.xz
kernel-4efc0c70ab6ea56a586fe249058200aa46b96473.zip
Linux 3.3-rc2-git5 (upstream 8597559a78e1cde158b999212bc9543682638eb1)
Add hfsplus file blessing patches from Matthew Garrett
Diffstat (limited to 'hfsplus-Change-finder_info-to-u32.patch')
-rw-r--r--hfsplus-Change-finder_info-to-u32.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/hfsplus-Change-finder_info-to-u32.patch b/hfsplus-Change-finder_info-to-u32.patch
new file mode 100644
index 000000000..15e3e67d8
--- /dev/null
+++ b/hfsplus-Change-finder_info-to-u32.patch
@@ -0,0 +1,26 @@
+The finder_info block in the hfsplus volume header is currently defined as
+an array of 8 bit values, but TN1150 defines it as being an array of 32 bit
+values. Fix for convenience.
+
+Signed-off-by: Matthew Garrett <mjg@redhat.com>
+---
+ fs/hfsplus/hfsplus_raw.h | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/fs/hfsplus/hfsplus_raw.h b/fs/hfsplus/hfsplus_raw.h
+index 927cdd6..921967e 100644
+--- a/fs/hfsplus/hfsplus_raw.h
++++ b/fs/hfsplus/hfsplus_raw.h
+@@ -117,7 +117,7 @@ struct hfsplus_vh {
+ __be32 write_count;
+ __be64 encodings_bmp;
+
+- u8 finder_info[32];
++ u32 finder_info[8];
+
+ struct hfsplus_fork_raw alloc_file;
+ struct hfsplus_fork_raw ext_file;
+--
+1.7.7.1
+
+