Browse Source

hfsplus: change finder_info to u32

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>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Matthew Garrett 13 năm trước cách đây
mục cha
commit
0347b6e95c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      fs/hfsplus/hfsplus_raw.h

+ 1 - 1
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;