]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NFSv4.1: _pnfs_return_layout() shouldn't invalidate the layout on failure
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 24 Sep 2012 17:49:27 +0000 (13:49 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 28 Sep 2012 20:03:18 +0000 (16:03 -0400)
commit65857d5768f7716da539933c2075d384b117812d
treefd35ec5174e52388c870c4b23bd8a3c4153ad232
parente5929f3cff05e84f20c68df235f4768920e2e89e
NFSv4.1: _pnfs_return_layout() shouldn't invalidate the layout on failure

Failure of the layoutreturn allocation fails is not a good reason to
mark the pnfs_layout_hdr as having failed a layoutget or i/o. Just
exit cleanly.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pnfs.c