diff options
author | NeilBrown <neilb@suse.de> | 2015-05-20 07:05:09 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-05-21 01:14:41 +0200 |
commit | 8532e3439087de69bb1b71fd6be2baa6fc196a55 (patch) | |
tree | 83a2251c16c683f096e827af104cfef1fa8ed60b /drivers/md/raid5.c | |
parent | md/raid0: fix restore to sector variable in raid0_make_request (diff) | |
download | linux-8532e3439087de69bb1b71fd6be2baa6fc196a55.tar.xz linux-8532e3439087de69bb1b71fd6be2baa6fc196a55.zip |
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>
Diffstat (limited to 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions