aio: fix rcu sparse warnings introduced by ioctx table lookup patch
authorBenjamin LaHaise <bcrl@kvack.org>
Fri, 30 Aug 2013 15:12:50 +0000 (11:12 -0400)
committerBenjamin LaHaise <bcrl@kvack.org>
Fri, 30 Aug 2013 15:12:50 +0000 (11:12 -0400)
commit77d30b14d24e557f89c41980011d72428514d729
treee3a2b59d7c0c56cf21511de871b05dcdd14294cc
parent79bd1bcf1ab22ea723da7d5854a9e72a350ecbf8
aio: fix rcu sparse warnings introduced by ioctx table lookup patch

Sseveral sparse warnings were caused by missing rcu_dereference() annotations
for dereferencing mm->ioctx_table.  Thankfully, none of those were actual bugs
as the deref was protected by a spin lock in all instances.

Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
fs/aio.c