diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-07 08:33:39 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-07 20:31:46 +0100 |
commit | f4a00a2c06bc7802f52969cbdd19f4c680a7cd20 (patch) | |
tree | a8ee7e8a210ed01f5c9be0e981f1188f7e06bd10 /drivers/base | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 (diff) | |
download | linux-f4a00a2c06bc7802f52969cbdd19f4c680a7cd20.tar.xz linux-f4a00a2c06bc7802f52969cbdd19f4c680a7cd20.zip |
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 <davem@davemloft.net>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions