md/bitmap: remove rcu annotation from pointer arithmetic.
authorNeilBrown <neilb@suse.de>
Wed, 20 May 2015 05:05:09 +0000 (15:05 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 20 May 2015 23:14:41 +0000 (09:14 +1000)
commit8532e3439087de69bb1b71fd6be2baa6fc196a55
tree83a2251c16c683f096e827af104cfef1fa8ed60b
parenta81157768a00e8cf8a7b43b5ea5cac931262374f
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: Patrick Marlier <patrick.marlier@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/bitmap.c