changing error code when path is too long
This commit is contained in:
parent
7f338d871b
commit
57baa75f04
4 changed files with 4 additions and 3 deletions
|
|
@ -382,7 +382,7 @@ int create_silly_rename(
|
|||
int status = NO_ERROR, i;
|
||||
|
||||
if (path->len + extra_len >= NFS41_MAX_PATH_LEN) {
|
||||
status = ERROR_BUFFER_OVERFLOW;
|
||||
status = ERROR_FILENAME_EXCED_RANGE;
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue