Eryu Guan a27f6ef4e6 xfs: undo block reservation correctly in xfs_trans_reserve()
"blocks" should be added back to fdblocks at undo time, not taken
away, i.e. the minus sign should not be used.

This is a regression introduced by commit 0d485ada404b ("xfs: use
generic percpu counters for free block counter"). And it's found by
code inspection, I didn't it in real world, so there's no
reproducer.

Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2016-09-14 07:39:07 +10:00
..
2016-04-06 09:47:01 +10:00
2016-04-06 09:47:01 +10:00
2013-05-07 18:45:36 -05:00
2016-03-31 00:30:15 -04:00
2016-07-27 09:53:35 -07:00
2016-02-09 16:54:58 +11:00
2016-07-20 11:48:46 +10:00
2016-04-06 09:20:36 +10:00
2016-06-01 17:38:15 +10:00
2013-05-07 18:45:36 -05:00
2016-04-06 09:19:55 +10:00
2016-06-01 17:38:15 +10:00
2013-05-07 18:45:36 -05:00