Skip to content
Commit 8532e343 authored by NeilBrown's avatar NeilBrown
Browse files

md/bitmap: remove rcu annotation from pointer arithmetic.



Evaluating  "&mddev->disks" is simple pointer arithmetic, so
it does not need 'rcu' annotations - no dereferencing is happening.

Also enhance the comment to explain that 'rdev' in that case
is not actually a pointer to an rdev.

Reported-by: default avatarPatrick Marlier <patrick.marlier@gmail.com>
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent a8115776
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment