nfsd: fix error value on allocation failure in nfsd4_decode_test_stateid()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 13 Apr 2012 04:15:37 +0000 (00:15 -0400)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 25 Apr 2012 06:14:54 +0000 (11:14 +0530)
commit5a6cf22a60f2f3a50c2acb6ad5a742648471ebc4
treeec8aa05e7aacbc095677a230d0d1305c662663df
parent5f6eee0d8203af8c99064595d38cfbd2bf4d816a
nfsd: fix error value on allocation failure in nfsd4_decode_test_stateid()

PTR_ERR(NULL) is going to be 0...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfsd/nfs4xdr.c