projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07704eb
)
[PATCH] Enable RAID autorun on Mac partition tables.
author
David Woodhouse
<dwmw2@infradead.org>
Mon, 4 Dec 2006 15:45:46 +0000
(15:45 +0000)
committer
Linus Torvalds
<torvalds@woody.osdl.org>
Mon, 4 Dec 2006 16:36:37 +0000
(08:36 -0800)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/partitions/mac.c
patch
|
blob
|
history
diff --git
a/fs/partitions/mac.c
b/fs/partitions/mac.c
index c0871002d00d00f8c036d8b3a873f5a7e31a765b..d4a0fad3563b4bbee00e2155e3210e2b01f0021c 100644
(file)
--- a/
fs/partitions/mac.c
+++ b/
fs/partitions/mac.c
@@
-74,6
+74,8
@@
int mac_partition(struct parsed_partitions *state, struct block_device *bdev)
be32_to_cpu(part->start_block) * (secsize/512),
be32_to_cpu(part->block_count) * (secsize/512));
+ if (!strnicmp(part->type, "Linux_RAID", 10))
+ state->parts[slot].flags = 1;
#ifdef CONFIG_PPC_PMAC
/*
* If this is the first bootable partition, tell the