diff options
| author | Justin Maggard <[email protected]> | 2010-11-24 05:36:17 +0000 |
|---|---|---|
| committer | NeilBrown <[email protected]> | 2010-11-24 05:36:17 +0000 |
| commit | c26a44ed1e552aaa1d4ceb71842002d235fe98d7 (patch) | |
| tree | 47e0d62c2693ae60ae7a5bc44c2dfcd6a2f7e47e /tools/perf/scripts/python | |
| parent | Linux 2.6.37-rc3 (diff) | |
| download | kernel-c26a44ed1e552aaa1d4ceb71842002d235fe98d7.tar.gz kernel-c26a44ed1e552aaa1d4ceb71842002d235fe98d7.zip | |
md: fix return value of rdev_size_change()
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.
Cc: [email protected]
Signed-off-by: Justin Maggard <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
