From: Greg Kroah-Hartman Date: Thu, 7 Feb 2008 07:33:39 +0000 (-0800) Subject: Block: Fix whole_disk attribute bug X-Git-Tag: v2.6.25-rc1~293^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4a00a2c06bc7802f52969cbdd19f4c680a7cd20;p=pandora-kernel.git Block: Fix whole_disk attribute bug The "whole_disk" attribute was not properly converted in the block device conversion earlier, and if the file is read, bad things can happen. This patch fixes this, making the attribute an empty one, preserving the original functionality. Many thanks to David Miller for finding this, and pointing me in the proper place within the block code to look. Acked-by: David S. Miller Cc: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed