staging: lustre: obd: make echo_lock_ops const
authorBhumika Goyal <bhumirks@gmail.com>
Thu, 3 Aug 2017 09:12:48 +0000 (14:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Aug 2017 00:16:51 +0000 (17:16 -0700)
commitbab87505c3284ac3345463abb8af9e6774e7e9f8
tree420a49266173d237b0b84327aedbbad4beae913b
parent65c527b985df700cf7416f4cc1642681aaaf5253
staging: lustre: obd: make echo_lock_ops const

Declare echo_lock_ops object of type cl_lock_operations as const as it
is only passed to the function cl_lock_slice_add. The corresponding
argument is of type const, so make the object const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdecho/echo_client.c