commit | afabfd30d05264ff493c24bce310b6a5350f099b | [log] [tgz] |
---|---|---|
author | Eric Sandeen <sandeen@sandeen.net> | Tue Sep 09 11:58:42 2014 +1000 |
committer | Dave Chinner <david@fromorbit.com> | Tue Sep 09 11:58:42 2014 +1000 |
tree | 2e6a63c0ee02b51a89007d76e6d72996c88380c5 | |
parent | b16ed7c114b8cca45fa87b675c431f43ff90c179 [diff] |
xfs: combine xfs_rtmodify_summary and xfs_rtget_summary xfs_rtmodify_summary and xfs_rtget_summary are almost identical; fold them into xfs_rtmodify_summary_int(), with wrappers for each of the original calls. The _int function modifies if a delta is passed, and returns a summary pointer if *sum is passed. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>