nfs: move nfs4 lock retry attempt loop to a separate function
authorJeff Layton <jlayton@redhat.com>
Sat, 17 Sep 2016 22:17:38 +0000 (18:17 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 22 Sep 2016 17:56:04 +0000 (13:56 -0400)
commitd2f3a7f9187b0c6a64276d598cd6157437c5a336
tree5d74722f59c3f6bfa46e3b31ee4adce552e67df5
parent1ea67dbd9828278188fb846972c3c368b0ef23a1
nfs: move nfs4 lock retry attempt loop to a separate function

This also consolidates the waiting logic into a single function,
instead of having it spread across two like it is now.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c