xfs: add rmap btree insert and delete helpers
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 3 Aug 2016 02:03:58 +0000 (12:03 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 3 Aug 2016 02:03:58 +0000 (12:03 +1000)
commitabf09233817b5ea1241db0c187136d3b4738d218
treeadd4550028cc917c301fe3239789edcc472cd73b
parentfb7d9267692a5cdc01648bf4c8fdca51054bc0f2
xfs: add rmap btree insert and delete helpers

Add a couple of helper functions to encapsulate rmap btree insert and
delete operations.  Add tracepoints to the update function.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_rmap.c
fs/xfs/libxfs/xfs_rmap.h