NFS: return error from decode_getfh in decode open
authorWeston Andros Adamson <dros@netapp.com>
Thu, 6 Sep 2012 19:54:27 +0000 (15:54 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 6 Sep 2012 20:01:33 +0000 (16:01 -0400)
commit01913b49cf1dc6409a07dd2a4cc6af2e77f3c410
tree973b1b0ea34c8c809922f84f8941905053142b6f
parent1f1ea6c2d9d8c0be9ec56454b05315273b5de8ce
NFS: return error from decode_getfh in decode open

If decode_getfh failed, nfs4_xdr_dec_open would return 0 since the last
decode_* call must have succeeded.

Cc: stable@vger.kernel.org
Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4xdr.c