diff options
| -rw-r--r-- | fs/nfs/nfs4proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 6d2812a39287..741ff8c9c6ed 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
| @@ -2933,7 +2933,8 @@ static int _nfs4_open_and_get_state(struct nfs4_opendata *opendata, | |||
| 2933 | } | 2933 | } |
| 2934 | 2934 | ||
| 2935 | out: | 2935 | out: |
| 2936 | nfs4_sequence_free_slot(&opendata->o_res.seq_res); | 2936 | if (!opendata->cancelled) |
| 2937 | nfs4_sequence_free_slot(&opendata->o_res.seq_res); | ||
| 2937 | return ret; | 2938 | return ret; |
| 2938 | } | 2939 | } |
| 2939 | 2940 | ||
