diff options
author | Dai Ngo <[email protected]> | 2023-04-19 10:53:18 -0700 |
---|---|---|
committer | Chuck Lever <[email protected]> | 2023-04-27 18:49:24 -0400 |
commit | 147abcacee33781e75588869e944ddb07528a897 (patch) | |
tree | 6e59a3a97e865746f2e212cf6fc757402d23283c /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 695bc1f32c6bc806218b322096b23dfd601e59ca (diff) |
NFSD: Fix problem of COMMIT and NFS4ERR_DELAY in infinite loop
The following request sequence to the same file causes the NFS client and
server getting into an infinite loop with COMMIT and NFS4ERR_DELAY:
OPEN
REMOVE
WRITE
COMMIT
Problem reported by recall11, recall12, recall14, recall20, recall22,
recall40, recall42, recall48, recall50 of nfstest suite.
This patch restores the handling of race condition in nfsd_file_do_acquire
with unlink to that prior of the regression.
Fixes: ac3a2585f018 ("nfsd: rework refcounting in filecache")
Signed-off-by: Dai Ngo <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions