diff options
author | Jeff Layton | 2016-09-18 00:17:37 +0200 |
---|---|---|
committer | Anna Schumaker | 2016-09-22 19:56:04 +0200 |
commit | 1ea67dbd9828278188fb846972c3c368b0ef23a1 (patch) | |
tree | 7b7482905a2f1642fe565b1d7c64df443938f995 /fs/nls/nls_cp865.c | |
parent | nfs: add handling for CB_NOTIFY_LOCK in client (diff) | |
download | kernel-qcow2-linux-1ea67dbd9828278188fb846972c3c368b0ef23a1.tar.gz kernel-qcow2-linux-1ea67dbd9828278188fb846972c3c368b0ef23a1.tar.xz kernel-qcow2-linux-1ea67dbd9828278188fb846972c3c368b0ef23a1.zip |
nfs: move nfs4_set_lock_state call into caller
We need to have this info set up before adding the waiter to the
waitqueue, so move this out of the _nfs4_proc_setlk and into the
caller. That's more efficient anyway since we don't need to do
this more than once if we end up waiting on the lock.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nls/nls_cp865.c')
0 files changed, 0 insertions, 0 deletions