changing silly rename scheme take 2
reverting patch 4d18cf9ce7.
it was wrong to append the timestamp to create a silly renamed name
because it was not a reproducable name.
instead, take an fh and md5(fh) then append as before.
This commit is contained in:
parent
7fe39f0a53
commit
92d3500bd2
4 changed files with 56 additions and 17 deletions
|
|
@ -815,7 +815,7 @@ static int handle_close(nfs41_upcall *upcall)
|
|||
|
||||
if (args->renamed) {
|
||||
dprintf(1, "removing a renamed file %s\n", name->name);
|
||||
create_silly_rename(&state->path, name);
|
||||
create_silly_rename(&state->path, &state->file.fh, name);
|
||||
status = do_nfs41_close(state);
|
||||
if (status)
|
||||
goto out;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue