Whamcloud - gitweb
LU-1497 client: SLES11 SP0 client build is broken.
authorJames Simmons <uja.ornl@gmail.com>
Fri, 13 Jul 2012 13:22:55 +0000 (09:22 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 26 Jul 2012 05:05:53 +0000 (01:05 -0400)
commit2c84a5f145e1c28e43c1b8174fc42c7dd58f86e1
tree8460f8ed705084b87f75e272f0e4f5a78f6ce64d
parent39cecbf532a266aac8caea8b215dcec281a31d73
LU-1497 client: SLES11 SP0 client build is broken.

With the addition of client improvements new linux kernel
apis are exposed to the llite layer. Those apis can be
missing or have a different format in earlier kernels.
This is the case for SLES11 SP0 clients for the case
of the vma handling and the function inode_newsize_ok
that is missing. This patch fixes those issues. Final
bug is a fix to a configure test for a function from
the linux crypto api.

Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I699c67baec030e61133ff0a44e0ab03261b2f2d0
Reviewed-on: http://review.whamcloud.com/3063
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/autoconf/lustre-libcfs.m4
lustre/autoconf/lustre-core.m4
lustre/llite/llite_lib.c
lustre/llite/llite_mmap.c