diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2014-05-19 09:52:02 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2014-07-10 18:35:22 +0200 |
commit | 1e39152fea2dccd1af6479aa1a036201886f0743 (patch) | |
tree | a5f27c4adf21b06de70fea027b212666d3424080 /include | |
parent | drbd: drop spurious parameters from _drbd_md_sync_page_io (diff) | |
download | linux-1e39152fea2dccd1af6479aa1a036201886f0743.tar.xz linux-1e39152fea2dccd1af6479aa1a036201886f0743.zip |
drbd: implicitly truncate cpu-mask
Don't error out with misleading "out of memory"
if the cpu-mask has more bits set than there are CPUs.
Just truncate to nr_cpu_ids implicitly.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions