diff options
| author | Justin Maggard <jmaggard10@gmail.com> | 2010-11-24 16:36:17 +1100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-09 13:32:40 -0800 |
| commit | 445e7a9566d1a13947942c3c80d7f1b8ab2643b0 (patch) | |
| tree | f19f77bbf4aaa610fad7768549bb256741d03048 /sound/pci/hda/patch_realtek.c | |
| parent | 5c123e20b4e588a273b9cb16c24c3aac8cdb91b3 (diff) | |
md: fix return value of rdev_size_change()
commit c26a44ed1e552aaa1d4ceb71842002d235fe98d7 upstream.
When trying to grow an array by enlarging component devices,
rdev_size_store() expects the return value of rdev_size_change() to be
in sectors, but the actual value is returned in KBs.
This functionality was broken by commit
dd8ac336c13fd8afdb082ebacb1cddd5cf727889
so this patch is suitable for any kernel since 2.6.30.
Signed-off-by: Justin Maggard <jmaggard10@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
0 files changed, 0 insertions, 0 deletions
