]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - fs/aio.c
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)
commit0c45355fc7c48c82db151bf0e7ca305d513e639e
tree9fcf956a6135b1120d206a9f7c250eb9cfbd6488
parent36bc08cc01709b4a9bb563b35aa530241ddc63e3
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