]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit852c0d1c9a34e3850cfda87c05149d6165f1e7a2
tree1e6e1d3fb179fffa8f78a094a0db1e31e841ad19
parentd6024a06745c9e5a9e57505ec0e6a327e0c65c31
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