Commit f7894811 authored by Volker Lendecke's avatar Volker Lendecke Committed by Gerald (Jerry) Carter
Browse files

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 used to be commit 588351d1b37a900eb90eddd80882170c201e9162)
parent f880fe51
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}