From 3680a7642d0ae50bdf72bb179894bb29180fbc72 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Wed, 14 Jun 2017 16:23:32 -0500 Subject: [PATCH] libxfs: fix xfs_trans_alloc_empty namespace Do all the right libxfs_ magic for this new function. Reported-by: Darrick J. Wong Reviewed-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- include/xfs_trans.h | 2 +- libxfs/trans.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/xfs_trans.h b/include/xfs_trans.h index d9f9ec8e4..17d286acc 100644 --- a/include/xfs_trans.h +++ b/include/xfs_trans.h @@ -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); diff --git a/libxfs/trans.c b/libxfs/trans.c index 229fe5615..e161c2852 100644 --- a/libxfs/trans.c +++ b/libxfs/trans.c @@ -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) { -- 2.39.5