From: NeilBrown Date: Fri, 9 Sep 2005 23:23:53 +0000 (-0700) Subject: [PATCH] md: limit size of sb read/written to appropriate amount X-Git-Tag: v2.6.14-rc1~239 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0002b2718dd04da67c21f8a7830de8d95a9b0345;p=pandora-kernel.git [PATCH] md: limit size of sb read/written to appropriate amount version-1 superblocks are not (normally) 4K long, and can be of variable size. Writing the full 4K can cause corruption (but only in non-default configurations). With this patch the super-block-flavour can choose a size to read, and set a size to write based on what it finds. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed