aboutsummaryrefslogtreecommitdiff
path: root/include/linux/drbd.h
diff options
context:
space:
mode:
authorLars Ellenberg2014-05-19 09:52:02 +0200
committerPhilipp Reisner2014-07-10 18:35:22 +0200
commit1e39152fea2dccd1af6479aa1a036201886f0743 (patch)
treea5f27c4adf21b06de70fea027b212666d3424080 /include/linux/drbd.h
parent193cb00ce377fd672526b5ad065c4de52f429ea1 (diff)
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/linux/drbd.h')
0 files changed, 0 insertions, 0 deletions