aboutsummaryrefslogtreecommitdiffstats
path: root/net/compat.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2009-10-23 14:46:42 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-10-23 14:46:42 -0400
commit52567b03ca38b6e556ced450d64dba8d66e23b0e (patch)
treea08e14e2a8ab8c69e80eb5ea6208d473b1254582 /net/compat.c
parenta8b40bc7e635831b61c43acc71a86d3a68b2dff0 (diff)
NFSv4: Fix a bug when the server returns NFS4ERR_RESOURCE
RFC 3530 states that when we recieve the error NFS4ERR_RESOURCE, we are not supposed to bump the sequence number on OPEN, LOCK, LOCKU, CLOSE, etc operations. The problem is that we map that error into EREMOTEIO in the XDR layer, and so the NFSv4 middle-layer routines like seqid_mutating_err(), and nfs_increment_seqid() don't recognise it. The fix is to defer the mapping until after the middle layers have processed the error. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions