mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
r370: The 'it does never happen -- error on close()' does happen when you exceed
your quota on an AFS file system. The specific errno was thrown away by close_normal_file(). Thus we returned NT_STATUS_UNSUCCESSFUL and not NT_STATUS_DISK_FULL as we should. Fix that. (Not that this gives more sane Windows app behaviour.... :-( ) Jerry, jra, could you please look over this one, it's been quite a while since I touch file server code. Volker
This commit is contained in:
parent
908d8a4125
commit
588351d1b3
@ -233,7 +233,7 @@ with error %s\n", fsp->fsp_name, strerror(errno) ));
|
||||
file_free(fsp);
|
||||
|
||||
if (err == -1 || err1 == -1)
|
||||
return -1;
|
||||
return errno;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user