]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: do all xfs->libxfs defines inside libxfs/
authorDave Chinner <dchinner@redhat.com>
Wed, 6 May 2015 05:04:16 +0000 (15:04 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 6 May 2015 05:04:16 +0000 (15:04 +1000)
commit0ef0933627a864b6db662d3f63e1a790ce7c2981
tree8f9b694ede685ab04f8a01476cef5267ff0974cf
parent502544b47894ed564c3e2df69ceb02ea8fbc2d78
libxfs: do all xfs->libxfs defines inside libxfs/

From: Dave Chinner <dchinner@redhat.com>

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