Revert "nfsd: remove unneeded EEXIST error check in nfsd_do_file_acquire"
This reverts commit 047ae79564
.
This commit is contained in:
parent
4e72477dc9
commit
1bde9f1a58
1 changed files with 2 additions and 0 deletions
|
@ -1040,6 +1040,8 @@ retry:
|
||||||
if (likely(ret == 0))
|
if (likely(ret == 0))
|
||||||
goto open_file;
|
goto open_file;
|
||||||
|
|
||||||
|
if (ret == -EEXIST)
|
||||||
|
goto retry;
|
||||||
trace_nfsd_file_insert_err(rqstp, inode, may_flags, ret);
|
trace_nfsd_file_insert_err(rqstp, inode, may_flags, ret);
|
||||||
status = nfserr_jukebox;
|
status = nfserr_jukebox;
|
||||||
goto construction_err;
|
goto construction_err;
|
||||||
|
|
Loading…
Add table
Reference in a new issue