aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4xdr.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2009-03-11 14:10:23 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-03-11 14:10:23 -0400
commit78f945f88ef83dcc7c962614a080e0a9a2db5889 (patch)
tree1a3ab02259b3b6ddce570aa8afcd3375de71a0cc /fs/nfs/nfs4xdr.c
parent37d9d76d8b3a2ac5817e1fa3263cfe0fdb439e51 (diff)
NFSv4: Ignore errors on the post-op attributes in SETATTR calls
There is no need to fail or retry a SETATTR call just because the post-op GETATTR failed. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4xdr.c')
-rw-r--r--fs/nfs/nfs4xdr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index d1e4c8f8a0a9..5f0ee3e2bd84 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -4078,9 +4078,7 @@ static int nfs4_xdr_dec_setattr(struct rpc_rqst *rqstp, __be32 *p, struct nfs_se
4078 status = decode_setattr(&xdr, res); 4078 status = decode_setattr(&xdr, res);
4079 if (status) 4079 if (status)
4080 goto out; 4080 goto out;
4081 status = decode_getfattr(&xdr, res->fattr, res->server); 4081 decode_getfattr(&xdr, res->fattr, res->server);
4082 if (status == NFS4ERR_DELAY)
4083 status = 0;
4084out: 4082out:
4085 return status; 4083 return status;
4086} 4084}