nfs: cover ->migratepage with CONFIG_MIGRATION
authorChao Yu <yuchao0@huawei.com>
Tue, 20 Sep 2016 05:59:07 +0000 (13:59 +0800)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 20 Sep 2016 13:29:39 +0000 (09:29 -0400)
commitf844cd0d76378fa898890d2448222d407f3f8ecf
treebfee2f2368ee7c198c05c7a06c0fb8e42c5e9fcc
parentd48f9ce73c997573e1b512893fa6eddf353a6f69
nfs: cover ->migratepage with CONFIG_MIGRATION

It will be more clean to use CONFIG_MIGRATION to cover nfs' private
.migratepage in nfs_file_aops like we do in other part of nfs
operations.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/file.c
fs/nfs/internal.h