Whamcloud - gitweb
LU-6215 llite: handle locks API change in 4.4+ kernels 29/18729/3
authorLi Dongyang <dongyang.li@anu.edu.au>
Tue, 1 Mar 2016 05:36:49 +0000 (16:36 +1100)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 23 Mar 2016 06:02:26 +0000 (06:02 +0000)
commitdbaa768769a4075ca765dc76a138ef7a39c54eb0
tree4a004142ff345042a47afea1485cdaac8942c0af
parent4ad19ae1a30de4c5f1d7a3a4e2fa2cd7dc72877f
LU-6215 llite: handle locks API change in 4.4+ kernels

Since 4.4 linux kernel replaced both posix_lock_file_wait() and
flock_lock_file_wait() by introducing locks_lock_file_wait().
This patch handles the API change.

Linux-commit: 4f6563677ae833baad8003e14353241bc25da4fc

Signed-off-by: Li Dongyang <dongyang.li@anu.edu.au>
Change-Id: I1b9c98c2afcad9da3fb377c3e788b12f20261e9e
Reviewed-on: http://review.whamcloud.com/18729
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/autoconf/lustre-core.m4
lustre/llite/file.c