aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorEryu Guan <eguan@redhat.com>2016-09-14 07:39:07 +1000
committerDave Chinner <david@fromorbit.com>2016-09-14 07:39:07 +1000
commita27f6ef4e636c2437090b87c4eb0f587b60d7123 (patch)
tree68ea5e98ff38af2200c698d599368780cbae099c /scripts/gcc-plugins/cyc_complexity_plugin.c
parentxfs: track log done items directly in the deferred pending work item (diff)
downloadlinux-dev-a27f6ef4e636c2437090b87c4eb0f587b60d7123.tar.xz
linux-dev-a27f6ef4e636c2437090b87c4eb0f587b60d7123.zip
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>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions