ctdb-common: Copy functions sys_read() and sys_write() from source3
authorMartin Schwenke <martin@meltin.net>
Wed, 30 Jul 2014 10:50:59 +0000 (20:50 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 21 Aug 2014 02:46:13 +0000 (04:46 +0200)
commitfcd6ee1eac8627e75f72019027513cc46429a3a9
tree4fec864fc6dad9658a6740ca6fdf85f0323a7273
parent72fa984423b77eaddb16b63e6c3857600e054836
ctdb-common: Copy functions sys_read() and sys_write() from source3

We really should extricate these from source3 and into some common
code.  However, just copy them for now to help get rid of a lot of
warnings.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/common/system_util.c
ctdb/include/ctdb_private.h