-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nfs4: bump open-stateid sequence only in FileTracker#addOpen
Motivation: To avoid race conditions, the updating of the open-stateid must happen only under lock, which is guaranteed by FileTracker#addOpen Modification: Update open-stateid sequence only in FileTracker#addOpen Result: Fix of the race condition Fixes: #120 Acked-by: Paul Millar Target: master, 0.24, 0.23 (cherry picked from commit 42ed2e0) Signed-off-by: Tigran Mkrtchyan <[email protected]>
- Loading branch information
Showing
3 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters