Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NFS/pNFS: Fix a leak of the layout 'plh_outstanding' counter
commit cb2856c upstream. If we exit _lgopen_prepare_attached() without setting a layout, we will currently leak the plh_outstanding counter. Fixes: 411ae72 ("pNFS: Wait for stale layoutget calls to complete in pnfs_update_layout()") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information