]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: ldlm: remove 'flags' arg from ldlm_process_flock_lock()
authorNeilBrown <neilb@suse.com>
Mon, 23 Oct 2017 00:53:49 +0000 (11:53 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Nov 2017 13:55:21 +0000 (14:55 +0100)
commit9207d5b268a474a3cf3fb2d23c433353ed3b0a1c
treec5525d2bab3ad625145256cf1ea370cbb5c52464
parentf722ae2fe8c2ef280bdc05c37a12ad45277d03c9
staging: lustre: ldlm: remove 'flags' arg from ldlm_process_flock_lock()

This is only ever set to LDLM_FL_WAIT_NOREPROC, so we can remove the arg
and discard any code that is only run when it doesn't have that value.

Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ldlm/ldlm_flock.c