diff options
author | Jeremy Allison <jra@samba.org> | 2007-01-30 22:20:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:32 -0500 |
commit | cb916d33f534aef5e3527c41555d32c319345fef (patch) | |
tree | 5ea286fde5c0dfb95b1deb2154221d16acab22b4 /source3/smbd/vfs.c | |
parent | deaf4131b99951cfcc599b96e35af680202ce609 (diff) | |
download | samba-cb916d33f534aef5e3527c41555d32c319345fef.tar.gz samba-cb916d33f534aef5e3527c41555d32c319345fef.tar.xz samba-cb916d33f534aef5e3527c41555d32c319345fef.zip |
r21063: All case statements are now NTSTATUS returning
functions. Now to factor out the post processing
and make all cases behave the same (no mixture
of "early returns" and "break"s.
Jeremy
(This used to be commit 7e17e54cb729e34c935927fe69a43690c7f446ae)
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r-- | source3/smbd/vfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 47ac9ef4619..643c48cd27c 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -454,6 +454,7 @@ int vfs_allocate_file_space(files_struct *fsp, SMB_BIG_UINT len) if (((SMB_OFF_T)len) < 0) { DEBUG(0,("vfs_allocate_file_space: %s negative len requested.\n", fsp->fsp_name )); + errno = EINVAL; return -1; } |