]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: do all xfs->libxfs defines inside libxfs/
authorDave Chinner <dchinner@redhat.com>
Mon, 1 Jun 2015 01:18:41 +0000 (11:18 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 1 Jun 2015 01:18:41 +0000 (11:18 +1000)
commitb2c338513d88364f4fa8e75487d4fdc3b4851b2a
tree5f8c1c5dbec5736c932d0f4e0f30bd331b4238bc
parent29358c93d5b31add99e5519f513b9ff8182515f5
libxfs: do all xfs->libxfs defines inside libxfs/

Currently include/libxfs does some #define libxfs.... xfs...
conversions, allowing external functions to call xfs namespace
functions directly. All of the exported functions from libxfs shoul
dbe compiled in as libxfs_... namespace symbols, and so such defines
should be in libxfs/xfs.h and done the opposite way around.

This exposes an awful lot of incorrectly namespaced calls in the
userspace code and highlights functions that we weren't expressly
exporting from libxfs, so we need to fix them up at the same time.

As such, this patchset starts laying the groundwork for a more
formalised libxfs interface definition. The libxfs code will need
to be restructured to match the kernel code restructing that was
done in 3.17, so this interface will become more formalised and
defined as that work is done.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
db/metadump.c
include/libxfs.h
libxfs/rdwr.c
libxfs/xfs.h
mkfs/proto.c