]> git.baikalelectronics.ru Git - kernel.git/commit
aio: fix build when migration is disabled
authorBenjamin LaHaise <bcrl@kvack.org>
Wed, 17 Jul 2013 13:34:24 +0000 (09:34 -0400)
committerBenjamin LaHaise <bcrl@kvack.org>
Wed, 17 Jul 2013 13:34:24 +0000 (09:34 -0400)
commit0745c28dcb50eb55e6d1170671a073fdbc51eeb6
tree9fcf956a6135b1120d206a9f7c250eb9cfbd6488
parent5a9523ff2dec75f0bc9db8326514f9bfe9bb3906
aio: fix build when migration is disabled

When "fs/aio: Add support to aio ring pages migration" was applied, it
broke the build when CONFIG_MIGRATION was disabled.  Wrap the migration
code with a test for CONFIG_MIGRATION to fix this and save a few bytes
when migration is disabled.

Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
fs/aio.c