s3: modules: Fix *allocate* calls to follow POSIX error return convention.
authorJeremy Allison <jra@samba.org>
Fri, 5 Dec 2014 23:37:11 +0000 (15:37 -0800)
committerJeremy Allison <jra@samba.org>
Mon, 8 Dec 2014 01:59:43 +0000 (02:59 +0100)
commit2845e1c29f8bce6306a73d546184c401bf89cfea
treeb217c4f973668cba1b9e85cd83be01e9d9519fef
parentcc1f91cec627cb3e4fc89b96aae1e7e4c539cd1c
s3: modules: Fix *allocate* calls to follow POSIX error return convention.

Fix up the ceph, fruit, time_audit and streams_xattr modules to follow
the -1,errno convention for errors.

Reported by Jones <jones.kstw@gmail.com> who provided the
initial patch. This patch tested and confirmed working
by him as well.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Disseldorp <ddiss@suse.de>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Dec  8 02:59:43 CET 2014 on sn-devel-104
source3/modules/vfs_ceph.c
source3/modules/vfs_fruit.c
source3/modules/vfs_streams_xattr.c
source3/modules/vfs_time_audit.c