]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: nfs4_preprocess_seqid_op should only set *stpp on success
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 30 Jun 2014 15:48:34 +0000 (11:48 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 8 Jul 2014 21:14:33 +0000 (17:14 -0400)
commit5e81fc7915085612d4110401ba3d9645dbed4114
tree622d0ed866a72be76f80d846d91de7ff27163249
parent8fd1482f1be20b6d604d765c3b9cc25b7c4e2f6b
nfsd: nfs4_preprocess_seqid_op should only set *stpp on success

Not technically a bugfix, since nothing tries to use the return pointer
if this function doesn't return success, but it could be a problem
with some coming changes.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c