commit | 1ed3a8539af7b36aa5c977f304e80f7fc8d27bfc | [log] [tgz] |
---|---|---|
author | Benny Halevy <benny@tonian.com> | Wed Jun 15 11:39:57 2011 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Jun 15 11:52:15 2011 -0400 |
tree | 2e4f96dccc79f57a9afb0cd0bc89add38d311d94 | |
parent | c7fd06228b994190d8369a2a0acf5224e4e13d1a [diff] |
NFSv4.1: need to put_layout_hdr on _pnfs_return_layout error path We always get a reference on the layout header and we rely on nfs4_layoutreturn_release to put it. If we hit an allocation error before starting the rpc proc we bail out early without dereferncing the layout header properly. Signed-off-by: Benny Halevy <benny@tonian.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>