diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-10-27 04:56:40 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-10-27 22:24:46 +0300 |
commit | 01d29f87fcfef38d51ce2b473981a5c1e861ac0a (patch) | |
tree | 7a3f503617d617826ba05892c9f2c5af11a86a20 /fs/nfs/delegation.c | |
parent | 4cd27df88af29929cda6e8eb4e0f5bb4e25812bf (diff) | |
download | linux-01d29f87fcfef38d51ce2b473981a5c1e861ac0a.tar.xz |
NFSv4: Fix a regression in nfs_set_open_stateid_locked()
If we already hold open state on the client, yet the server gives us a
completely different stateid to the one we already hold, then we
currently treat it as if it were an out-of-sequence update, and wait for
5 seconds for other updates to come in.
This commit fixes the behaviour so that we immediately start processing
of the new stateid, and then leave it to the call to
nfs4_test_and_free_stateid() to decide what to do with the old stateid.
Fixes: b4868b44c562 ("NFSv4: Wait for stateid updates after CLOSE/OPEN_DOWNGRADE")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/delegation.c')
0 files changed, 0 insertions, 0 deletions