projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f220ed
)
NFSv4: Don't fail nfs4_xdr_dec_open if decode_restorefh() failed
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 18 Jul 2007 01:52:37 +0000
(21:52 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 19 Jul 2007 19:09:03 +0000
(15:09 -0400)
We can already easily recover from that inside _nfs4_proc_open().
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4xdr.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/nfs4xdr.c
b/fs/nfs/nfs4xdr.c
index c08738441f732216f7b785fa3805860475a40917..99a123db10834d33da7bf8f0ba1973f4e3eb8e68 100644
(file)
--- a/
fs/nfs/nfs4xdr.c
+++ b/
fs/nfs/nfs4xdr.c
@@
-4035,7
+4035,7
@@
static int nfs4_xdr_dec_open(struct rpc_rqst *rqstp, __be32 *p, struct nfs_openr
goto out;
if (decode_getfattr(&xdr, res->f_attr, res->server) != 0)
goto out;
- if (
(status = decode_restorefh(&xdr)
) != 0)
+ if (
decode_restorefh(&xdr
) != 0)
goto out;
decode_getfattr(&xdr, res->dir_attr, res->server);
out: