s3: modules: Fix *allocate* calls to follow POSIX error return convention.
commit3e8a1681b613608e2c282a07b76387f9fbf549e0
authorJeremy Allison <jra@samba.org>
Fri, 5 Dec 2014 23:37:11 +0000 (5 15:37 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 8 Dec 2014 11:37:27 +0000 (8 12:37 +0100)
tree53b71ed9507bd19c5b5d9ab28bd949136110b91d
parent46489da33949b05866ed0bbedb3e18b0d95189ab
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

(cherry picked from commit 2845e1c29f8bce6306a73d546184c401bf89cfea)

Autobuild-User(v4-2-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-2-test): Mon Dec  8 12:37:27 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