Re: [PATCH] staging: lustre: obd: make echo_lock_ops const

2017-08-03 Thread James Simmons
> 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. > Acked-by: James Simmons > Signed-off-by: Bhumika Goyal

[PATCH] staging: lustre: obd: make echo_lock_ops const

2017-08-03 Thread Bhumika Goyal
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 ---