nfs4.1: fix several problems with _pnfs_return_layout
authorFred Isaman <iisaman@netapp.com>
Mon, 13 Jun 2011 22:54:53 +0000 (18:54 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 15 Jun 2011 15:24:30 +0000 (11:24 -0400)
commita2e1d4f2e5ed83850de92a491ef225824cb457bd
treea97ec1b7e83b254e9b7179425e848d72cd6c3db3
parentcec765cf5891c7fc3d905832b481bfb6fd55825d
nfs4.1: fix several problems with _pnfs_return_layout

_pnfs_return_layout had the following problems:

- it did not call pnfs_free_lseg_list on all paths
- it unintentionally did a forgetful return when there was no outstanding io
- it raced with concurrent LAYOUTGETS

Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
fs/nfs/pnfs.c
This page took 0.026038 seconds and 5 git commands to generate.