diff options
author | Eric Sandeen <sandeen@redhat.com> | 2017-06-14 16:23:32 -0500 |
---|---|---|
committer | Eric Sandeen <sandeen@redhat.com> | 2017-06-14 16:23:32 -0500 |
commit | 3680a7642d0ae50bdf72bb179894bb29180fbc72 (patch) | |
tree | eec1c0b07cc179b039760e84756a2b49ee8a13cc | |
parent | f9a6d642cdb1c36cf1e0e63a17d2d99485afe262 (diff) | |
download | xfsprogs-dev-libxfs-4.12-sync.tar.gz |
libxfs: fix xfs_trans_alloc_empty namespacelibxfs-4.12-sync
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>
-rw-r--r-- | include/xfs_trans.h | 2 | ||||
-rw-r--r-- | libxfs/trans.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/xfs_trans.h b/include/xfs_trans.h index d9f9ec8e42..17d286acc4 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 229fe56150..e161c2852e 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) { |