xfs: replace xfs_mod_incore_sb_batched
authorDave Chinner <dchinner@redhat.com>
Mon, 23 Feb 2015 10:24:11 +0000 (21:24 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 23 Feb 2015 10:24:11 +0000 (21:24 +1100)
Introduce helper functions for modifying fields in the superblock
into xfs_trans.c, the only caller of xfs_mod_incore_sb_batch().  We
can then use these directly in xfs_trans_unreserve_and_mod_sb() and
so remove another user of the xfs_mode_incore_sb() API without
losing any functionality or scalability of the transaction commit
code..

Based on a patch 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/xfs_mount.c
fs/xfs/xfs_mount.h
fs/xfs/xfs_trans.c

Simple merge
Simple merge
Simple merge