diff options
-rw-r--r-- | fs/nfsd/nfs4state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 386daac508f5..b96714ae3dd7 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -1820,6 +1820,7 @@ nfsd4_process_open2(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nf | |||
1820 | status = nfs4_upgrade_open(rqstp, current_fh, stp, open); | 1820 | status = nfs4_upgrade_open(rqstp, current_fh, stp, open); |
1821 | if (status) | 1821 | if (status) |
1822 | goto out; | 1822 | goto out; |
1823 | update_stateid(&stp->st_stateid); | ||
1823 | } else { | 1824 | } else { |
1824 | /* Stateid was not found, this is a new OPEN */ | 1825 | /* Stateid was not found, this is a new OPEN */ |
1825 | int flags = 0; | 1826 | int flags = 0; |