aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-09-14 09:06:55 +0200
committerJens Axboe <[email protected]>2021-09-14 20:03:30 -0600
commit783a40a1b3ac7f3714d2776fa8ac8cce3535e4f6 (patch)
treebc9ed35cb80f91b84d1974ea8272c5525af2eddb /scripts/gcc-plugins/cyc_complexity_plugin.c
parent67f3b2f822b7e71cfc9b42dbd9f3144fa2933e0b (diff)
block: check if a profile is actually registered in blk_integrity_unregister
While clearing the profile itself is harmless, we really should not clear the stable writes flag if it wasn't set due to a registered integrity profile. Reported-by: Lihong Kou <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions