diff options
Diffstat (limited to 'fs/nfs/nfs4state.c')
-rw-r--r-- | fs/nfs/nfs4state.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c index 4f78c0d1eab5..4fa4054cdf34 100644 --- a/fs/nfs/nfs4state.c +++ b/fs/nfs/nfs4state.c | |||
@@ -38,6 +38,7 @@ | |||
38 | * subsequent patch. | 38 | * subsequent patch. |
39 | */ | 39 | */ |
40 | 40 | ||
41 | #include <linux/kernel.h> | ||
41 | #include <linux/slab.h> | 42 | #include <linux/slab.h> |
42 | #include <linux/smp_lock.h> | 43 | #include <linux/smp_lock.h> |
43 | #include <linux/nfs_fs.h> | 44 | #include <linux/nfs_fs.h> |
@@ -648,6 +649,12 @@ static void nfs_increment_seqid(int status, struct nfs_seqid *seqid) | |||
648 | case 0: | 649 | case 0: |
649 | break; | 650 | break; |
650 | case -NFS4ERR_BAD_SEQID: | 651 | case -NFS4ERR_BAD_SEQID: |
652 | if (seqid->sequence->flags & NFS_SEQID_CONFIRMED) | ||
653 | return; | ||
654 | printk(KERN_WARNING "NFS: v4 server returned a bad" | ||
655 | "sequence-id error on an" | ||
656 | "unconfirmed sequence %p!\n", | ||
657 | seqid->sequence); | ||
651 | case -NFS4ERR_STALE_CLIENTID: | 658 | case -NFS4ERR_STALE_CLIENTID: |
652 | case -NFS4ERR_STALE_STATEID: | 659 | case -NFS4ERR_STALE_STATEID: |
653 | case -NFS4ERR_BAD_STATEID: | 660 | case -NFS4ERR_BAD_STATEID: |