diff options
author | Andy Adamson <andros@netapp.com> | 2012-03-07 10:49:41 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-07 10:53:55 -0500 |
commit | 9cb8196839ab4ec87710526e9c43ac7f5dba69d3 (patch) | |
tree | 97ea8225d7ea1b7ba45785f25d042a18263eaf8e /fs/nfs/delegation.c | |
parent | 4f1abd226d80ef763c50e3930b369b63dffbb312 (diff) |
NFSv4.1 handle DS stateid errors
Handle DS READ and WRITE stateid errors by recovering the stateid on the MDS.
NFS4ERR_OLD_STATEID is ignored as the client always sends a
state sequenceid of zero for DS READ and WRITE stateids.
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/delegation.c')
-rw-r--r-- | fs/nfs/delegation.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/delegation.c b/fs/nfs/delegation.c index 87f7544f3dce..97d53574bf53 100644 --- a/fs/nfs/delegation.c +++ b/fs/nfs/delegation.c | |||
@@ -474,6 +474,7 @@ void nfs_remove_bad_delegation(struct inode *inode) | |||
474 | nfs_free_delegation(delegation); | 474 | nfs_free_delegation(delegation); |
475 | } | 475 | } |
476 | } | 476 | } |
477 | EXPORT_SYMBOL_GPL(nfs_remove_bad_delegation); | ||
477 | 478 | ||
478 | /** | 479 | /** |
479 | * nfs_expire_all_delegation_types | 480 | * nfs_expire_all_delegation_types |