]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
libxfs: fix xfs_trans_alloc_empty namespace libxfs-4.12-sync
authorEric Sandeen <sandeen@redhat.com>
Wed, 14 Jun 2017 21:23:32 +0000 (16:23 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 14 Jun 2017 21:23:32 +0000 (16:23 -0500)
Do all the right libxfs_ magic for this new function.

Reported-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/xfs_trans.h
libxfs/trans.c

index d9f9ec8e422407e89e280cc5f9d1abdda788ae32..17d286acc466e6d3ff653bbf229db36443eccd25 100644 (file)
@@ -90,7 +90,7 @@ int   xfs_trans_roll(struct xfs_trans **, struct xfs_inode *);
 int    libxfs_trans_alloc(struct xfs_mount *mp, struct xfs_trans_res *resp,
                           uint blocks, uint rtextents, uint flags,
                           struct xfs_trans **tpp);
-int    xfs_trans_alloc_empty(struct xfs_mount *mp, struct xfs_trans **tpp);
+int    libxfs_trans_alloc_empty(struct xfs_mount *mp, struct xfs_trans **tpp);
 int    libxfs_trans_commit(struct xfs_trans *);
 void   libxfs_trans_cancel(struct xfs_trans *);
 struct xfs_buf *libxfs_trans_getsb(struct xfs_trans *, struct xfs_mount *, int);
index 229fe561502b4f5258d023e8f91da2b8d06edc16..e161c2852e0e5d9414e7f9c5109487c502c664cb 100644 (file)
@@ -206,7 +206,7 @@ libxfs_trans_alloc(
  * without any dirty data.
  */
 int
-xfs_trans_alloc_empty(
+libxfs_trans_alloc_empty(
        struct xfs_mount                *mp,
        struct xfs_trans                **tpp)
 {