diff options
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-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 d18447d11b06..bb1141c48281 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -2789,7 +2789,7 @@ static int _nfs4_open_and_get_state(struct nfs4_opendata *opendata, | |||
2789 | if (ret != 0) | 2789 | if (ret != 0) |
2790 | goto out; | 2790 | goto out; |
2791 | 2791 | ||
2792 | state = nfs4_opendata_to_nfs4_state(opendata); | 2792 | state = _nfs4_opendata_to_nfs4_state(opendata); |
2793 | ret = PTR_ERR(state); | 2793 | ret = PTR_ERR(state); |
2794 | if (IS_ERR(state)) | 2794 | if (IS_ERR(state)) |
2795 | goto out; | 2795 | goto out; |
@@ -2828,6 +2828,7 @@ static int _nfs4_open_and_get_state(struct nfs4_opendata *opendata, | |||
2828 | } | 2828 | } |
2829 | 2829 | ||
2830 | out: | 2830 | out: |
2831 | nfs4_sequence_free_slot(&opendata->o_res.seq_res); | ||
2831 | return ret; | 2832 | return ret; |
2832 | } | 2833 | } |
2833 | 2834 | ||