]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:util: Move static file_pload() function to lib/util
authorAliaksei Karaliou <akaraliou@panasas.com>
Thu, 27 Dec 2018 09:25:47 +0000 (04:25 -0500)
committerKarolin Seeger <kseeger@samba.org>
Thu, 13 Jun 2019 10:22:03 +0000 (10:22 +0000)
commitecd28164948f1b217cb2135b548738752a97153e
tree27a01c1fe3b5491632d5de4d9ef7bfbe37a2668f
parentfefd249619b8a95cf5caa522a3d6330001cc637b
s3:util: Move static file_pload() function to lib/util

file_pload() is static private function in Samba3 library, however it
does not have any special dependencies and might be widely used as
common function, so moving it into common samba-util library.

Extra fix needed to enable easy back-port of code for:

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13964

Signed-off-by: Aliaksei Karaliou <akaraliou@panasas.com>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit d21fc7d8b86b0cddc619ffe528d9cd93eeedbb0b)
lib/util/samba_util.h
lib/util/util_file.c
source3/lib/util_file.c