diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-06 23:33:39 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-07 11:31:46 -0800 |
commit | f4a00a2c06bc7802f52969cbdd19f4c680a7cd20 (patch) | |
tree | a8ee7e8a210ed01f5c9be0e981f1188f7e06bd10 /fs/sysfs | |
parent | 0afc2edfada50980bec999f94dcea26ebad3dda6 (diff) |
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 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions