commit | 1ea67dbd9828278188fb846972c3c368b0ef23a1 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Sat Sep 17 18:17:37 2016 -0400 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Thu Sep 22 13:56:04 2016 -0400 |
tree | 7b7482905a2f1642fe565b1d7c64df443938f995 | |
parent | db783688d4a20bae1b77c5c96a0ad3eb3079f9f6 [diff] |
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>