staging: lustre: libcfs: remove page_index() macro
authorJames Simmons <jsimmons@infradead.org>
Thu, 31 Mar 2016 14:18:37 +0000 (10:18 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Mar 2016 20:04:45 +0000 (13:04 -0700)
commitbadc9feddfd30096666e22afbda028971a49bfa9
tree59c3d721ef90765aa1f124fe38ff536c3f84bcfb
parentbd6e2c5067ad6ead097ada26e899ba97266a8bf0
staging: lustre: libcfs: remove page_index() macro

Just use the index field directly for struct page.

Signed-off-by: James Simmons <uja.ornl@gmail.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6245
Reviewed-on: http://review.whamcloud.com/13841
Reviewed-by: frank zago <fzago@cray.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/linux/linux-mem.h
drivers/staging/lustre/lustre/llite/vvp_page.c
drivers/staging/lustre/lustre/osc/osc_request.c