NFSv4.1: Do not call pnfs_return_layout() from an rpciod context
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 11 Oct 2012 17:43:38 +0000 (13:43 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 15 Oct 2012 14:49:43 +0000 (10:49 -0400)
Move the call to pnfs_return_layout() to the read and write rpc_release()
callbacks, so that it gets called from nfsiod, which is a more appropriate
context.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found