summaryrefslogtreecommitdiffstats
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorJeff Layton2016-09-18 00:17:37 +0200
committerAnna Schumaker2016-09-22 19:56:04 +0200
commit1ea67dbd9828278188fb846972c3c368b0ef23a1 (patch)
tree7b7482905a2f1642fe565b1d7c64df443938f995 /fs/read_write.c
parentnfs: add handling for CB_NOTIFY_LOCK in client (diff)
downloadkernel-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/read_write.c')
0 files changed, 0 insertions, 0 deletions