staging/lustre/ldlm: Correct itree_overlap_cb return type
authorOleg Drokin <green@linuxhacker.ru>
Wed, 7 Dec 2016 22:41:28 +0000 (17:41 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jan 2017 14:01:20 +0000 (15:01 +0100)
commitb1bca45860b5419f396d9cb60a603dcd59ee2ff5
tree7c6d2a18d765ee97d8d0008bd082830911d62bb0
parent4c13990e35b9f053857d4ad83bf0f58e612ec414
staging/lustre/ldlm: Correct itree_overlap_cb return type

As per interval_search() prototype, the callback should return
enum, not int.
This fixes correspondign sparse warning.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ldlm/ldlm_lock.c