This is a note to let you know that I've just added the patch titled

    Increase OSF partition limit from 8 to 18

to the 2.6.32-longterm tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/longterm/longterm-queue-2.6.32.git;a=summary

The filename of the patch is:
     increase-osf-partition-limit-from-8-to-18.patch
and it can be found in the queue-2.6.32 subdirectory.

If you, or anyone else, feels it should not be added to the 2.6.32 longterm 
tree,
please let <[email protected]> know about it.


>From 7967084f1df9c566c0d79bee17f7a6c4821dee58 Mon Sep 17 00:00:00 2001
From: Linus Torvalds <[email protected]>
Date: Wed, 16 Mar 2011 08:04:07 -0700
Subject: Increase OSF partition limit from 8 to 18

From: Linus Torvalds <[email protected]>

commit 34d211a2d5df4984a35b18d8ccacbe1d10abb067 upstream.

It turns out that while a maximum of 8 partitions may be what people
"should" have had, you can actually fit up to 18 entries(*) in a sector.

And some people clearly were taking advantage of that, like Michael
Cree, who had ten partitions on one of his OSF disks.

(*) The OSF partition data starts at byte offset 64 in the first sector,
    and the array of 16-byte partition entries start at offset 148 in
    the on-disk partition structure.

Reported-by: Michael Cree <[email protected]>
Cc: [email protected] (v2.6.38)
Signed-off-by: Linus Torvalds <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
 fs/partitions/osf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/fs/partitions/osf.c
+++ b/fs/partitions/osf.c
@@ -10,7 +10,7 @@
 #include "check.h"
 #include "osf.h"
 
-#define MAX_OSF_PARTITIONS 8
+#define MAX_OSF_PARTITIONS 18
 
 int osf_partition(struct parsed_partitions *state, struct block_device *bdev)
 {


Patches currently in longterm-queue-2.6.32 which might be from 
[email protected] are

/home/gregkh/linux/longterm/longterm-queue-2.6.32/queue-2.6.32/fix-gcc-4.5.1-miscompiling-drivers-char-i8k.c-again.patch
/home/gregkh/linux/longterm/longterm-queue-2.6.32/queue-2.6.32/fix-corrupted-osf-partition-table-parsing.patch
/home/gregkh/linux/longterm/longterm-queue-2.6.32/queue-2.6.32/kconfig-avoid-buffer-underrun-in-choice-input.patch
/home/gregkh/linux/longterm/longterm-queue-2.6.32/queue-2.6.32/fs-partitions-ldm.c-fix-oops-caused-by-corrupted-partition-table.patch
/home/gregkh/linux/longterm/longterm-queue-2.6.32/queue-2.6.32/i8k-tell-gcc-that-regs-gets-clobbered.patch
/home/gregkh/linux/longterm/longterm-queue-2.6.32/queue-2.6.32/increase-osf-partition-limit-from-8-to-18.patch
/home/gregkh/linux/longterm/longterm-queue-2.6.32/queue-2.6.32/nfs4-ensure-that-acl-pages-sent-over-nfs-were-not-al.patch

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to