]> 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>
Mon, 24 Sep 2012 19:53:56 +0000 (15:53 -0400)
commitbe49de305972753bdd1ffb5ec85ca74de939620a
tree25cc3b67f3596c7f871ea6f7fadde81bfdce2ac7
parent141fe0879718ce6a3fccd45c527cdb569bc8e7ae
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