diff options
Diffstat (limited to 'fs/nfs/nfs4state.c')
-rw-r--r-- | fs/nfs/nfs4state.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c index 4e95bd72f480..685b1e953ed8 100644 --- a/fs/nfs/nfs4state.c +++ b/fs/nfs/nfs4state.c | |||
@@ -1053,6 +1053,8 @@ int nfs4_select_rw_stateid(nfs4_stateid *dst, struct nfs4_state *state, | |||
1053 | goto out; | 1053 | goto out; |
1054 | ret = nfs4_copy_open_stateid(dst, state); | 1054 | ret = nfs4_copy_open_stateid(dst, state); |
1055 | out: | 1055 | out: |
1056 | if (nfs_server_capable(state->inode, NFS_CAP_STATEID_NFSV41)) | ||
1057 | dst->seqid = 0; | ||
1056 | return ret; | 1058 | return ret; |
1057 | } | 1059 | } |
1058 | 1060 | ||