Whamcloud - gitweb
LU-812 vfs: address_space_operations.migratepage has 4 args
authorJames Simmons <uja.ornl@gmail.com>
Thu, 12 Jul 2012 15:05:06 +0000 (11:05 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 31 Jul 2012 16:28:57 +0000 (12:28 -0400)
commit5c00de88f0e8a61888a55410459ecfb4fea814e8
treec32753e476ad9f030806672cdaf5c79dac0cd0b4
parent4f8f5f080cf1456647ce23678ee5ed1da97038c5
LU-812 vfs: address_space_operations.migratepage has 4 args

Linux 3.3 address_space_operations.migratepage has 4 args.
Add detection in build configure and condition in code for
the new argument. Before Linux 3.3 the migration_mode values
were located in migrate.h instead of migrate_mode.h

Signed-off-by: James Simmons <uja.ornl@gmail.com>
Signed-off-by: Wally Wang <wang@cray.com>
Change-Id: I5be5de9c6693b09ddbbc92e729b79bfa1d99ee3a
Reviewed-on: http://review.whamcloud.com/2279
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/autoconf/lustre-core.m4
lustre/llite/rw26.c