changing error code when path is too long

This commit is contained in:
Olga Kornievskaia 2012-04-26 11:06:31 -04:00
parent 7f338d871b
commit 57baa75f04
4 changed files with 4 additions and 3 deletions

View file

@ -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;
}