xfs: introduce xfs_mod_frextents
authorDave Chinner <dchinner@redhat.com>
Mon, 23 Feb 2015 10:22:54 +0000 (21:22 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 23 Feb 2015 10:22:54 +0000 (21:22 +1100)
commitbab98bbe6e1e38bf2fa5018a195608553095f51b
tree7d22e47227132f29ad6f9d7e116d1e4eabfca04f
parent5681ca40064fdb3efe477a604d690ab0425708b3
xfs: introduce xfs_mod_frextents

Add a new helper to modify the incore counter of free realtime
extents. This matches the helpers used for inode and data block
counters, and removes a significant users of the xfs_mod_incore_sb()
interface.

Based on a patch originally from Christoph Hellwig.

Signed-off-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_bmap.c
fs/xfs/xfs_mount.c
fs/xfs/xfs_mount.h
fs/xfs/xfs_trans.c