changing silly rename scheme
instead of appending a fh value when creating a silly rename name, we'll append a timestamp. using fh value was problematic because it was creating a filename longer than 64char long which is currently out max_filename_size.
This commit is contained in:
parent
61998b5968
commit
4d18cf9ce7
4 changed files with 16 additions and 17 deletions
|
|
@ -790,7 +790,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, &state->file.fh, name);
|
||||
create_silly_rename(&state->path, name);
|
||||
status = do_nfs41_close(state);
|
||||
if (status)
|
||||
goto out;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue