summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-08-07 01:19:32 +0000
committerJeremy Allison <jra@samba.org>2001-08-07 01:19:32 +0000
commit0c218e1abe237e23014332b014ec06f2e9d27e5e (patch)
treee55ce75a893bd46417ee055896e9f807f34ec613 /source3/smbd/trans2.c
parentd851036d8205a13f64f3a14db8a60e72fbeee7d6 (diff)
downloadsamba-0c218e1abe237e23014332b014ec06f2e9d27e5e.tar.gz
samba-0c218e1abe237e23014332b014ec06f2e9d27e5e.tar.bz2
samba-0c218e1abe237e23014332b014ec06f2e9d27e5e.zip
Added fixes to return correct error codes on space allocation fail.
Jeremy. (This used to be commit 3bf2419f4b7a9d46a1d48062212a6a6579c22b92)
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index bb7ca6e0f8..26b376ec2d 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -1928,7 +1928,7 @@ static int call_trans2setfilepathinfo(connection_struct *conn,
}
if (ret == -1)
- return(UNIXERROR(ERRHRD,ERRdiskfull));
+ return allocate_space_error(inbuf, outbuf, errno);
sbuf.st_size = size;
break;