s3: modules: Fix *allocate* calls to follow POSIX error return convention.
commita3d2970d58401035ff09bd31c36ed5d69e02b140
authorJeremy Allison <jra@samba.org>
Mon, 8 Dec 2014 02:59:26 +0000 (7 18:59 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 8 Dec 2014 11:29:00 +0000 (8 12:29 +0100)
tree7a6d9f5b23093459b9f637445f57a847ef67b2c4
parent1a128c4b44aa33760803d2326eca5dcd5a48cb8a
s3: modules: Fix *allocate* calls to follow POSIX error return convention.

Fix up the ceph, 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>
Autobuild-User(v4-1-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-1-test): Mon Dec  8 12:29:00 CET 2014 on sn-devel-104
source3/modules/vfs_ceph.c
source3/modules/vfs_streams_xattr.c
source3/modules/vfs_time_audit.c