]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ff055e66e7b9ea9923b1caec968cb62b60f71b0
treee3a2b59d7c0c56cf21511de871b05dcdd14294cc
parentdea161d9d318a7de82cda1e644b8767d123cf274
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