NFSv4: Don't ignore the error return codes from nfs_intent_set_file
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 23 Oct 2010 15:24:25 +0000 (11:24 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 23 Oct 2010 19:27:17 +0000 (15:27 -0400)
commit898f635c4297e91ceac675d83c4a460f26118342
tree1e6e1d3fb179fffa8f78a094a0db1e31e841ad19
parent6eaa61496fb3b93cceface7a296415fc4c030bce
NFSv4: Don't ignore the error return codes from nfs_intent_set_file

If nfs_intent_set_file() returns an error, we usually want to pass that
back up the stack.

Also ensure that nfs_open_revalidate() returns '1' on success.

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