pNFS: Fix a typo in pnfs_update_layout
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 12 Mar 2019 20:04:51 +0000 (16:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2019 07:14:22 +0000 (09:14 +0200)
commitf64ff5914f00f51882da9cdc269f067d7b82a774
treecc5aa52431f48d19cc37de09d835f01f42258f06
parent603e7497bf275ef3766bb55323a23235dc0f0dfa
pNFS: Fix a typo in pnfs_update_layout

commit 400417b05f3ec0531544ca5f94e64d838d8b8849 upstream.

We're supposed to wait for the outstanding layout count to go to zero,
but that got lost somehow.

Fixes: d03360aaf5cca ("pNFS: Ensure we return the error if someone...")
Reported-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/pnfs.c