Whamcloud - gitweb
LU-9679 ldlm: remove flock accessor macros 56/27856/3
authorAndreas Dilger <andreas.dilger@intel.com>
Tue, 27 Jun 2017 22:15:18 +0000 (16:15 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 10 Sep 2017 04:55:07 +0000 (04:55 +0000)
commit6815c3c849e25c060f44db7f730831bcbcbc9091
tree43487c3a019bb58b0ba971a68a6d1501d8215a28
parent9b63762c47732b8d3cb17935d528e0c0fad814db
LU-9679 ldlm: remove flock accessor macros

Remove old flock wrapper functions that were never used in the kernel:
flock_type(), flock_set_type(), flock_pid(), flock_set_pid(),
flock_start(), flock_set_start(), flock_end(), flock_set_end()

so that our code is closer to that in the upstream kernel.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I8709da925f4aa4650088f72d7e26f5e6281cab07
Reviewed-on: https://review.whamcloud.com/27856
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Steve Guminski <stephenx.guminski@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
contrib/scripts/libcfs_cleanup.sed
libcfs/include/libcfs/linux/linux-fs.h
lustre/ldlm/ldlm_flock.c