aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMartin K. Petersen <[email protected]>2011-03-28 20:09:12 -0400
committerLinus Torvalds <[email protected]>2011-03-28 17:53:29 -0700
commit89078d572eb9ce8d4c04264b8b0ba86de0d74c8f (patch)
treed01104f97740c19daf01f49ae170df821a43252c /tools/perf/util/trace-event-scripting.c
parent7de8e5737df31a6826015a65135ed8f0a32bb2c4 (diff)
md: Fix integrity registration error when no devices are capable
We incorrectly returned -EINVAL when none of the devices in the array had an integrity profile. This in turn prevented mdadm from starting the metadevice. Fix this so we only return errors on mismatched profiles and memory allocation failures. Reported-by: Giacomo Catenazzi <[email protected]> Reported-by: Thomas Gleixner <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions