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)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 12 Mar 2019 20:04:51 +0000 (16:04 -0400)
commit400417b05f3ec0531544ca5f94e64d838d8b8849
treeb956cd6142ca5692b110768c9e7bca67737440a5
parentf87b543af45ea217fa1d000483f9a40944c1ff73
pNFS: Fix a typo in pnfs_update_layout

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>
fs/nfs/pnfs.c